This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: __gccmain error
- From: "Bosco Andrew Vittal Raj M - CTD, Chennai." <andrew at ctd dot hcltech dot com>
- To: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Cc: eCos Disuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 3 Sep 2002 10:24:23 +0530
- Subject: [ECOS] RE: __gccmain error
I've linked the application with the following:
arm-elf-ld -o test.axf -e _main test.o
Regards,
Andrews
> -----Original Message-----
> From: Andrew Lunn [mailto:andrew.lunn@ascom.ch]
> Sent: Monday, September 02, 2002 8:34 PM
> To: Bosco Andrew Vittal Raj M - CTD, Chennai.
> Cc: eCos Disuss
> Subject: Re: __gccmain error
>
>
> Please use ecos-discuss, not ecos-maintainers.
>
> How do you link the application?
>
> Andrew
>
> On Mon, Sep 02, 2002 at 08:33:33PM +0530, Bosco Andrew Vittal
> Raj M - CTD, Chennai. wrote:
> > Hello,
> >
> > I've built arm-elf-XXX tools and used to build a test file.
> There the
> > message "test.o(.text+0x10): undefined reference to
> `__gccmain'" is printed.
> > Pls. let me know how to overcome this and generate the executable?
> >
> > Thanks in advance.
> >
> > --
> >
> > M.Bosco Andrew Vittal Raj
> >
> > HCL Technologies Ltd.,
> > No.184 to 188, 190, 192 & 196
> > NSK Road, (Arcot Road)
> > Vadapalani, Chennai - 600 026
> > India
> >
> > Phone Off: +91-44-3728366/67/69 (Ext:1343)
> > Fax: +91-44-4806640
> > mailto: andrew@ctd.hcltech.com
> >
> > ===============================
> >
> >
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss