Date: Tue, 8 Feb 2000 10:58:24 -0800 (PST) From: John Polstra <jdp@polstra.com> To: marcov@stack.nl Cc: hackers@freebsd.org Subject: Re: how to compile without libc (so not static) Message-ID: <200002081858.KAA73853@vashon.polstra.com> In-Reply-To: <20000207191543.E365F2E802@hermes.tue.nl> References: <20000204161324.B2DE396D7@toad.stack.nl> <20000207191543.E365F2E802@hermes.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20000207191543.E365F2E802@hermes.tue.nl>, Marco van de Voort <marcov@stack.nl> wrote: > > I suspect that "gcc" isn't the standard FreeBSD C compiler in your > > case. Try "which gcc" and find out. It works fine for me on both > > -stable and -current with "cc": > > It is an older one indeed. [...] > Still doesn't work though with the newer one :-) > (try some arithmetic to see if that works. What do you mean, "Still doesn't work"? If you are using the /usr/bin/cc that comes with FreeBSD, and if -nostdlib causes the crt* files and libc to be omitted from the link, then it works. Making it do something useful is _your_ problem, not ours. :-) We don't recommend or support linking that way. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002081858.KAA73853>