Re: [Gc] Compile Problem wth Sun Studio 12

Ivan Maidanski ivmai at
Fri Dec 5 12:14:09 PST 2008


Lothar Scholz <scholz at> wrote:
> Hello,
> i'm trying to use the Sun Studio 12 C compiler named "c99" to compile
> the program. I set the environment variable "CC=c99" and "CXX=cc"
> and then use the normal configure make calls. But it reports
> "The collector has not been ported to this machine/OS combination"
> By the way, is there any new offical release later then gc-7.1
> planned for the next time.
> -- 
> Best regards,
>  Lothar Scholz                mailto:scholz at

Do You need thread support? What's target CPU?

If You need threads and target arch is not sparc then compile with -DAO_USE_PTHREAD_DEFS for now.

I'm personally using SunOS Release 5.11 on amd64.
I'm using latest CVS version of GC (pre 7.2a1). I don't know whether the build scripts work for this platform - I build it manually:

rm add_gc_prefix.c AmigaOS.c gcname.c if_mach.c if_not_there.c MacOS.c msvc_dbg.c setjmp_t.c threadlibs.c

This is the config I've tested and been using (I'm not using C++). Options may vary. GC for ABI-64 also works (but I've tested it much less).

PS. gc-7.2alpha1.tar.gz would be released, I guess, in 2009 Q1.


More information about the Gc mailing list