RFC: An option to link against static gcc libraries

Andrew Pinski pinskia@physics.uc.edu
Fri Dec 30 19:08:00 GMT 2005


On Dec 30, 2005, at 1:58 PM, H. J. Lu wrote:
> Are you saying "gcc -static" doesn't work with libobjc and libgcj?

Yes, they have never really worked.  You need to cause to import all of
the .a file instead of just letting the linker link in the parts that
it says it needs.

-- Pinski




More information about the Gcc mailing list