delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <B5A18EA708C8D311B2DA00508B50F0BA011364@boca-exch.miami.pace.co.uk> |
From: | Larry Martinez <larry DOT martinez AT pacemicro DOT com> |
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) |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |