public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* undefined reference to `__gccmain'
@ 2000-04-18  7:09 Larry Martinez
  0 siblings, 0 replies; only message in thread
From: Larry Martinez @ 2000-04-18  7:09 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-04-18  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-18  7:09 undefined reference to `__gccmain' Larry Martinez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).