Solaris gcc 4.0.0 static linking of libgcc.a
Roland Lengfeldner
lengfeldner_roland@gmx.at
Mon Mar 7 16:33:00 GMT 2005
Hello,
I have a question about the different behaviour of the Linux and Solaris
versions of gcc (3.4.x and 4.0.x) regarding static linking of libgcc. I do
the static linking by adding the libgcc.a library. The Linux versions link
libgcc statically, as do the Solaris versions. But then the Solaris version
requires to additionally load libgcc_s.so, although there there no undefined
references to GCC. When I change the specs file (for 3.4.x), so that the
libgcc section of the Solaris version matches the Linux version, also the
Solaris version behaves like *I* expect.
Now my question: which behaviour is the correct one?
kind regards,
Roland Lengfeldner
--
SMS bei wichtigen e-mails und Ihre Gedanken sind frei ...
Alle Infos zur SMS-Benachrichtigung: http://www.gmx.net/de/go/sms
More information about the Gcc
mailing list