"aetherane \(sent by Nabble.com\)" <[EMAIL PROTECTED]> writes:

> I am cross compiling an application to an architecture where the libc 
> functions won't really be useful to me. Whenever I try to compile my 
> application, I get the following message
> "ld: cannot find -lc"
> After searching the internet, I came to the conclusion that it is looking for 
> libc. Are there any flags that I can use so it doesn't require libc?
> Or should I just build libc so it will link?

This question would be more appropriate on gcc-help.

See the -nodefaultlibs option.  See also the note about -lgcc in the
-nostdlib option.

Ian

Reply via email to