bug-binutils
[Top][All Lists]
Advanced

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

Re: GCC/LD -lc


From: Ian Lance Taylor
Subject: Re: GCC/LD -lc
Date: 30 Dec 2004 16:20:09 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

address@hidden writes:

> I am trying to get GCC to work (I am new to GCC and the GBA game development
> scene) but LD.exe keeps returning either:
> Cannot find -lc
> or
> Cannot find -lgcc
> What does this mean and what should I do about it?

First you should tell us precisely what you are doing.  What host,
what target, the precise command, the precise output.

Normally when you invoke gcc to link a program, it will ask the linker
to link against the C library (-lc) and the gcc support library
(-lgcc).  These are normally files named libc.a (or libc.so) and
libgcc.a (or libgcc.so).  We do not know why they can not be found on
your system.

Ian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]