-nostdlib option!

Drasko DRASKOVIC drasko.draskovic@gmail.com
Mon Feb 7 11:21:00 GMT 2011


On Mon, Feb 7, 2011 at 12:03 PM, ali hagigat <hagigatali@gmail.com> wrote:
> I have copied part of gcc manual:
> ------------------------------------
> Do not use the standard system startup files or libraries when
> linking.  No startup files and only the libraries you specify will be
> passed to the linker.  The compiler may generate calls to "memcmp",
> "memset", "memcpy" and "memmove".  These entries are usually resolved
> by entries in libc.  These entry points should be supplied through
> some other mechanism when this option is specified.
> ------------------------------------
> What is some other mechanism? How can i use -nostdlib?

You posted the answer to your question already.

BR,
Drasko



More information about the Gcc-help mailing list