building gcc 4.0.0 on Solaris

Eric Botcazou ebotcazou@libertysurf.fr
Tue May 10 13:06:00 GMT 2005


> Actually I'd like to help fix bugs in the Solaris toolchain, apart from
> compiling my C++ programs.
>
> Using "xgcc -v" instead of plain "xgcc" I've found that the problem
> happens here:
> /tmp/GCC/gcc/collect2 [...] /tmp/GCC/gcc/crtn.o -soname libgcj.so.6
> collect2: ld returned 1 exit status
>
> Is there a way I can find the exact "ld" command line, in order to
> provide a small testcase for the GNU binutils bugzilla?

Pass -debug to collect2.  I'm not sure this will give you a *small* testcase 
though.

-- 
Eric Botcazou



More information about the Gcc mailing list