Re: [OpenIndiana-discuss] Has anyone successfully built a new firefox on OI?
I talked to the devs at Firefox at the time and they said that SunStudio was the only compiler that had been used to get Firefox compiled ... I think the assumption in the code is that Solaris = SunStudio. I have compiled XULrunner with GCC and it works. Now, Linux compils with GCC and I am sure it will compile with GCC! However, one needs to set CC=gcc otherwise it assumes it is the SunStudio C compiler. Regards, A.S. -- Apostolos Syropoulos Xanthi, Greece ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Has anyone successfully built a new firefox on OI?
Hello, I have the following C++ code #include cstdlib void ::abort(void) { } G++ gives the following error message ‘void abort()’ conflicts with previous using declaration ‘void std::abort()’ Of course SunStudio compiles just fine the code. I have checked and it seems that what the SunStudio compiler does is wrong! Now this is one little problem I has to solve... A.S. -- Apostolos Syropoulos Xanthi, Greece ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Has anyone successfully built a new firefox on OI?
As far as I remember (Annex C3 or something...) the standard says that C-headers should declare function in the global namespace *and* std, while for C++ headers it is only in std: it is known that g++ puts them in both namespaces, so I would say SunStudio is not incorrect but g++ fails to enforce the expected (?) behaviour (even with -ansi). Best Aurelien On Wed, Mar 4, 2015 at 6:12 PM, Apostolos Syropoulos via openindiana-discuss openindiana-discuss@openindiana.org wrote: Hello, I have the following C++ code #include cstdlib void ::abort(void) { } G++ gives the following error message ‘void abort()’ conflicts with previous using declaration ‘void std::abort()’ Of course SunStudio compiles just fine the code. I have checked and it seems that what the SunStudio compiler does is wrong! Now this is one little problem I has to solve... A.S. -- Apostolos Syropoulos Xanthi, Greece ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss -- --- LARCHER Aurélien | KTH, School of Computer Science and Communication Work: +46 (0) 8 790 71 42 | Lindstedtsvägen 5, Plan 4, 100 44 Stockholm, SWEDEN --- ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] VLC dependancy libs
Hi Alexander, Thank you adding the header-audio files resolved the problem. I have only seven libraries to build live.2015.03.01.tar.gz unbound-1.5.2 vnc_unixsrc gmp-6.0.0 nettle-3.0 p11-kit-0.23.1 gnutls-3.3.13 With 47 already completed On 03/03/2015 22:12, Alexander Pyhalov wrote: Hi russell писал 04.03.2015 00:40: fatal error: sys/audioio.h: No such file or directory #include sys/audioio.h ^ compilation terminated. gmake: *** [build/SDL_sunaudio.lo] Error 1 pkg install system/header/header-audio ? --- System Administrator of Southern Federal University Computer Center ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Has anyone successfully built a new firefox on OI?
Having compiled Firefox in the past for Solaris, the only way I could get it to work is with SunStudio ... I talked to the devs at Firefox at the time and they said that SunStudio was the only compiler that had been used to get Firefox compiled ... I think the assumption in the code is that Solaris = SunStudio. I know that some people have had success with different patches and versions of gcc, but I gave up. Jon On 3 March 2015 at 20:11, Apostolos Syropoulos via openindiana-discuss openindiana-discuss@openindiana.org wrote: Maybe first try to reproduce what the Sun/Oracle team does to build every release, using Sun CC, then try to port to GCC? This is not a solution as SunStudio is buggy! For example, I had compiled OpenOfice4 with GCC while SunStudio failed in many cases and I could not proceed! It makes no sense to waste time and energy with this compiler. I guess it would be more meaningful to work with CLang than with SunStudio. Best regards, A.S. -- Apostolos Syropoulos Xanthi, Greece ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss