This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Linker errors while linking ecos application with libc.a
- From: Balasaravanan P <pbalasaravanan at gmail dot com>
- To: Balasaravanan P <pbalasaravanan at gmail dot com>, ecos-discuss at sources dot redhat dot com
- Date: Wed, 22 Jun 2005 16:04:13 +0530
- Subject: Re: [ECOS] Linker errors while linking ecos application with libc.a
- References: <122f8500050622022761fef63a@mail.gmail.com> <20050622101441.GB12265@lunn.ch>
- Reply-to: Balasaravanan P <pbalasaravanan at gmail dot com>
Basically I am using sprintf, strcmp, strcpy ...
If I am not linking libc.a I am receving lot of undefined errors for
all these functions.
Can you please tell me which library to be used to get the image built.
Regards,
Bala.
On 6/22/05, Andrew Lunn <andrew@lunn.ch> wrote:
> On Wed, Jun 22, 2005 at 02:57:33PM +0530, Balasaravanan P wrote:
> > Hi,
> >
> > I was linking my ecos application with libc.a. I received the
> > following linker errors.
>
> eCos does not have a libc.a, so you should not be linking to it.
>
> Andrew
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss