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]

Re: Stand-alone program


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


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