From owner-freebsd-questions Mon Oct 26 13:47:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA26354 for freebsd-questions-outgoing; Mon, 26 Oct 1998 13:47:49 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.kar.net (n179.cdialup.kar.net [195.178.130.179]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA26347 for ; Mon, 26 Oct 1998 13:47:40 -0800 (PST) (envelope-from kushn@mail.kar.net) Received: from localhost (volodya@localhost) by mail.kar.net (8.9.1/8.8.8) with ESMTP id XAA00904; Mon, 26 Oct 1998 23:46:30 +0200 (EET) (envelope-from kushn@mail.kar.net) Date: Mon, 26 Oct 1998 23:46:29 +0200 (EET) From: Vladimir Kushnir X-Sender: volodya@kushnir.kiev.ua To: Dmitry Samersoff cc: freebsd-questions@FreeBSD.ORG Subject: Re: gcc 2.8.1 on FreeBSD 3.0 In-Reply-To: <199810261239.PAA24869@himera.wplus.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 26 Oct 1998, Dmitry Samersoff wrote: > Is there a way to run gcc 2.8.1 on FreeBSD 3.0 > > (Al my attempts are broken on > > /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory > > when I try to build gcc 2.8.1 it self > and > > /usr/lib/aout/crt0.o: file not recognized: File format not recognized > > when I try build my project using gcc compiled on 2.2.5 > ) > You can compile it manually, ./configure --host=i386-unknown-freebsdelf3.0; make ~~~~ When compiled for i386-unknown-freebsd host, it thinks it's still a.out and tries to link with a.out crt0.o. Actually, I don't know if C++ part works, but as a C compiler it does produce much faster code (at least, I tried one of the latest snapshots, not release). > Thank you! > You're welcome, Vladimir > Dmitry Samersoff > DM\S dms@wplus.net > ===========================|======================= Vladimir Kushnir | kushn@mail.kar.net, | Powered by FreeBSD kushnir@ap3.bitp.kiev.ua | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message