On 2009-09-27, at 21:05, Robert wrote:

> Nicolas Goy wrote:
>> Hello everybody,
>>
>> I've seen a couple of message on the lists about people having  
>> trouble
>> using asterisk on OpenSolaris. The main problem seems to be the
>> compilation.
>>
> all those crazy Linux Distros are moving more and more to gcc4 and  
> more
> and more Applications
> like the new Asterisk,VLC-Player, Mplayer ... require gccruntime4 !
>
> On Opensolaris all SourceCode compiled with gcc3 (SUNWgcc) and/or
> SunStudio like Blender ... are OK (stable)
> but in my experience all gcc4 compiled SourceCode are not good  
> (unstable)

I hardly ever use any software compiled with gcc4 on Solaris as I  
don't use it as my desktop OS, and most of the server softwares I use  
can be compiled with sun studio or gcc3. Thus I can't say if the  
produced executable is stable in UNIX sense.

If you find it crashing, producing a stack trace would be a good  
start. If it's gcc bug, we might be able to pass a flag to disable  
this or that.
There are some good articles on how to ensure a coredump will be  
produced.


On a side note, I think software not sticking to the C standards (ANSI  
or C89 or C99, the latter having some features often unsupported) are  
evil, but let's not start this discussion or I'll start to argue that  
it's bad to assume that a char is 8bit.


> I think it's a good idea to make a Repository for gcc4 compiled
> SourceCode only.
> With every new gcc4 Compiler coming out this Repository has to be
> compiled again.
>
> You can Install the gcc4 Version 4.3.2 from the dev/ Repository:
> Install it by clicking the following Link:
> http://pkg.opensolaris.org/dev/p5i/0/developer/gcc/gcc-432.p5i
>
> or you  can install the gcc4 Version 4.3.4 from my Repository
> Install it by clicking the following Link:
> http://ips.couchpotatofries.org/p5i/0/SFEgcc.p5i

Just as a note, it's important to know that if you compile against  
runtime xy, you will need that runtime on any system where you want to  
run the software. *But*, 4.3.4 might be binary compatible with 4.3.2,  
but this is not guaranteed as build flags might change this.

Regards

-- 
Nicolas Goy, Programer
Goyman.com

"It's easy to write a function, the real work is to give it the right  
name."

http://goyman.com
http://kuon.goyman.com

Reply via email to