undefined reference to `__gccmain'
Larry Martinez
larry.martinez@pacemicro.com
Tue Apr 18 07:09:00 GMT 2000
hello...
I am trying to cross compile some boot code to a mips environment, using the
cygnus environment.
when I load I get:
opened script file rom.ld
attempt to open begin.o succeeded
begin.o
attempt to open init_a.o succeeded
init_a.o
attempt to open cach4000.o succeeded
cach4000.o
attempt to open main.o succeeded
main.o
attempt to open serial.o succeeded
serial.o
attempt to open end.o succeeded
end.o
main.o: In function `main':
/cygdrive/d/sldr23/src/main.c:4: undefined reference to `__gccmain'
I remember reading some where in the documentation, something about having
to set some switch when you dont include the crt0.o code... can you help or
point me in the right direction?
thanks
Larry.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list