A89: Re: TI-GCC Question


[Prev][Next][Index][Thread]

A89: Re: TI-GCC Question




Hi!

> I think there is a bug in TIGCC-lib 2.1. Whenever I try to create a
> multiple module program in doors mode, the linker gives an error of
> a multiple definition of _main(). It works fine in nostub mode. I 
> read the documentaion, and it said that this bug was fixed from 
> earlier versions of the library, but it's still there.

Yes, it is still there, because I'm so stupid. I forgot to remove
the statement

asm("xdef _main");

at the begining of doors.h, just after definition of _rom_call. Do
this by yourself, and everything will be ok ;-)

Zeljko Juric