Article View: gnu.gcc.help
Article #52785PLEASE HELP! I need to hack at gcc
From: Roger Gonzalez
Date: Wed, 20 May 1992 16:34
Date: Wed, 20 May 1992 16:34
32 lines
1609 bytes
1609 bytes
I need a gcc that will be used on a 68000 with gas. This gcc needs to never attempt to link in anything vaguely unix-realated. libgcc apparently contains references to things in libc, and I don't know how to safely make things work. Right now, the linker tells me: libgcc2.c: undefined reference to `_on_exit' _fixdfsi.o: undefined reference to `Fintd' _floatsidf.o: undefined reference to `Ffltd' _ltdf2.o: undefined reference to `Fcmpd' _muldf3.o: undefined reference to `Fmuld' _subdf3.o: undefined reference to `Fsubd' *** Error code 1 If I link with libc.a as well, sbrk.o wants a symbol called _end. I need to get rid of all these references! Please help me, I'm going nuts! -Roger -- "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim" - Edsger W. Dijkstra Roger Gonzalez - rg@msel.unh.edu Division of Bit Banging and Reluctant Robotics UNH Marine Systems Engineering Laboratory, Durham, NH 03824-3525 (603) 862-4600 -4399 (fax)
Technical Details
Message-ID:
<RG.92May20113441@nymph.msel.unh.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!nic.unh.edu!newshost.unh.edu!rgShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,355ce6f3f904001f,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-05-20 03:48:30 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!nic.unh.edu!newshost.unh.edu!rg From: rg@msel.unh.edu (Roger Gonzalez) Subject: PLEASE HELP! I need to hack at gcc Message-ID: <RG.92May20113441@nymph.msel.unh.edu> Sender: news@nic.unh.edu (USENET News System) Organization: UNH Marine Systems Engineering Lab Distribution: gnu Date: Wed, 20 May 1992 16:34:41 GMT Lines: 33