repost: libg++ won't build on alphaev56-dec-osf4.0d

Alexandre Oliva oliva@dcc.unicamp.br
Thu Dec 17 21:36:00 GMT 1998


On Dec 18, 1998, Jeffrey A Law <law@upchuck.cygnus.com> wrote:

>   In message < orbtl2thcc.fsf@araguaia.dcc.unicamp.br >you write:
>> Using the same reasoning, I added -nostdlib to SHDEPS, so as to avoid
>> libgcc.a too, and it worked.
> That is wrong.  Consider if a shared library needs to use some code from
> libgcc.a

Then the program that links with the shared library should get a copy
of the code, since it's being linked with the library too.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list