This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]