From owner-freebsd-ports Mon Jul 6 19:45:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA01127 for freebsd-ports-outgoing; Mon, 6 Jul 1998 19:45:15 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA01102; Mon, 6 Jul 1998 19:45:11 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id TAA01057; Mon, 6 Jul 1998 19:45:01 -0700 (PDT) (envelope-from jdp) Message-Id: <199807070245.TAA01057@austin.polstra.com> To: Terry Lambert cc: obrien@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: gcc/g++ 2.8.1 port maintainers/modifiers In-reply-to: Your message of "Mon, 06 Jul 1998 16:39:31 PDT." <35A16033.7E59@whistle.com> Date: Mon, 06 Jul 1998 19:45:01 -0700 From: John Polstra Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > vashon$ cat test.cc > > > #include > > > vashon$ gcc28 -c -H test.cc > > > /usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/include/typeinfo > > > /usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/include/exception > > The correct place for this to be installed is in the directory > include/g++/sys/typeinfo.h, with a wrapper include in > include/g++/typeinfo that includes sys/typeinfo.h. No it's not. There is no "typeinfo.h" in gcc-2.8.1, or in the C++ standard for that matter. There's only "typeinfo". > In any case, it shouldn't be in the top level include directory, and > the g++ includes the one in /usr/include in preference to that one, > even if it were being put in the right place (ie: in include instead > of, minimally, in include/g++/typeinfo). I can't parse that. Please, don't try to explain it to me until you've understood the rest of this mail. > Try adding: > > #warning "This is the wrong file, you bozo!" > > To the /usr/include/g++/typeinfo file, and you will see what I > mean. Did you read the output from "gcc28 -H" that I sent in my last mail? Here it is again: vashon$ cat test.cc #include vashon$ gcc28 -c -H test.cc /usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/include/typeinfo /usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/include/exception The "-H" option causes the compiler to report exactly which files it included. They are listed above. "/usr/include/g++/typinfo" is not in the list, even though it exists on my system. Ergo, the compiler is not including it. > The port is broken... Whatever breakage you've demonstrated to this point is not in the port, it's in your installation, or your methodology, or your assumptions. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message