Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: From: Larry Martinez To: cygwin AT sourceware DOT cygnus DOT com Subject: undefined reference to `__gccmain' Date: Tue, 18 Apr 2000 10:09:29 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" 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 AT sourceware DOT cygnus DOT com