Re: Modifying the std C libraries

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

 



Rick Mann wrote:

> How can I get GCC to ignore the stuff it would normally implicitly
> link against and instead link against a very specific version of the
> runtime libs?

Use '-nodefaultlibs' if you don't want the standard libs,
'-nostartfiles' if you don't want the standard startup files, and
'-nostdlib' if you don't want either.   Note the blurb in the manual
about -lgcc if you use these.

Brian

[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