This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: __gccmain error
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: "Bosco Andrew Vittal Raj M - CTD, Chennai." <andrew at ctd dot hcltech dot com>
- Cc: eCos Disuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 3 Sep 2002 09:24:33 +0200
- Subject: [ECOS] Re: __gccmain error
- References: <55E277B99171E041ABF5F4B1C6DDCA06768ADF@haritha.hclt.com>
On Tue, Sep 03, 2002 at 10:24:23AM +0530, Bosco Andrew Vittal Raj M - CTD, Chennai. wrote:
> I've linked the application with the following:
>
> arm-elf-ld -o test.axf -e _main test.o
This is very wrong.
Read the getting started documentation.
There is a section "Building and Running Sample Applications"
That should solve your problems.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss