This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Stand-alone program
- To: hvilleneuve at softacoustik dot com
- Subject: Re: [ECOS] Stand-alone program
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 30 Oct 2001 02:24:34 +0000
- Cc: ecos discuss <ecos-discuss at sources dot redhat dot com>
- References: <200110261551.IAA10047@cygnus.com>
Hugo Villeneuve wrote:
>
> Hi,
>
> OK, I can compile main.c without error now (error was on my
> side).
>
> The problem I'm having now is the linker complains about an
> undefined reference to `__gccmain' in my assembly startup file, as
> well as an undefined reference to `__gccmain' in my main.c file.
Provide a dummy empty __gccmain.
But if you're doing this type of thing, I do vaguely wonder if you will be
using eCos at all?
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine