From owner-freebsd-current Mon Mar 1 19:51:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id C7D3815572 for ; Mon, 1 Mar 1999 19:51:24 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id WAA14630; Mon, 1 Mar 1999 22:50:39 -0500 (EST) Date: Mon, 1 Mar 1999 22:50:39 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Chuck Robey Cc: "David O'Brien" , Thomas Dean , mark@grondar.za, freebsd-current@FreeBSD.ORG Subject: Re: egcs and gcc In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 1 Mar 1999, Chuck Robey wrote: > On Mon, 1 Mar 1999, David O'Brien wrote: > > > > .if defined(WANT_SHAREDLIBS) > > > CONFIGURE_ARGS+= --enable-shared > > > .endif > > > > > > in it. That's not particularly friendly, I wonder why it was put in > > > there, unless the feature is somehow broken? I'm trying to rebuild it > > > now to see what it then installs. > > > > Because people like a previous poster thinks that eg++ should like > > against /usr/lib/libstdc++.so.2 which is plain WRONG. eg++ is totally > > incompatable with g++ 2.7.x. So what happens when you move an eg++ > > produced binary to a machine that doesn't have EGCS installed? > > OK, but listing from my gcc-lib/i386-unknown-freebsd4.0/egcs-2.91.62 > gives: > > SYSCALLS.c.X crtbeginS.o libiberty.a > cc1* crtend.o libobjc.a > cc1obj* crtendS.o libstdc++.a > cc1plus* f771* libstdc++.so@ > collect2* include/ libstdc++.so.2.9@ > cpp* libg2c.a libstdc++.so.2.9.0* > crtbegin.o libgcc.a specs > > (I compiled this with the WANT_SHAREDLIBS on). It seems to make a > libstdc++.so.2.9 .... my first guess is, we'd want to bump the number so > that it fits the form for our loader (one rev number, not two) and use > it like the old one. It's the new form, done for egcs, it should work, > right? If you move it to a machine without version 3 installed, it'll > complain, right? > > I'm learning here, don't get upset if I'm all wet. Another thing I note > is that, unlike all the rest of the snapshots of egcs, the pre-release > version (and seemingly only the prerelease version) that the port uses > has gcj, the java tool, cut out. That seems kind of a shame, doesn't > it? > > I tried taking the gcj part out of the latest egcs snap, and dropping it > inplace in the prerelease version. Cygnus supplies the tarball for the > gcc/java directory separately (if you want it), bless them! It > configures ok (I *think*) with --enable-java, but it won't finish > compiling. It's Makefile isn't correct, doesn't have a rule for an > object file gcj needs (lost the error listing, I just had a freezeup). You're not concerned about the freezeup? > > I'm out of time tonight. I think you're telling me to redo my egcs > install with the WANT_SHAREDLIBS off, right? And you're going to have > the libstdc++ ported (I read that, right?) so I should just maybe be > patient? > > ----------------------------+----------------------------------------------- > Chuck Robey | Interests include any kind of voice or data > chuckr@glue.umd.edu | communications topic, C programming, and Unix. > 213 Lakeside Drive Apt T-1 | > Greenbelt, MD 20770 | I run picnic (FreeBSD-current) > (301) 220-2114 | and jaunt (Solaris7). > ----------------------------+----------------------------------------------- > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message