Re: modifying libgcc.a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Navid Toosizadeh <navid_toosizadeh@xxxxxxxxx> writes:

> When I do "gcc test.program.c -lgcc", it works. Does that mean
> linker does not link the output of gcc with libgcc? Should I seek
> for the problem in gcc or in my linker? (perior to changing libgcc,
> I never needed to use libgcc).

On many systems the default compilation links against -lgcc_s, not
-lgcc.  Use the -v option to see the arguments being passed to the
linker.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux