Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 1998 11:28:18 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6424: gcc28 port problems
Message-ID:  <199804261528.LAA26920@rtfm.ziplink.net>

next in thread | raw e-mail | index | archive | help

>Number:         6424
>Category:       ports
>Synopsis:       misc. problems with gcc28 port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 26 08:40:02 PDT 1998
>Last-Modified:
>Originator:     Mikhail Teterin
>Organization:
Virtual Estates, Inc.
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	Reading specs from
	/usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/specs
	gcc version 2.8.1

>Description:

	1. C++ compiler does not know about /usr/include/g++

	2. See PR ports/6408

	3. -shared patch is still not commited (required to reproduce
	   2.)

>How-To-Repeat:

	Try compiling:
		#include <iostream.h>
		main () { return 0; }

	mi@rtfm:/tmp (1064) pg++ -c t.C
	t.C:1: iostream.h: No such file or directory
	mi@rtfm:/tmp (1065) c++ -c t.C
	mi@rtfm:/tmp (1066) # compiles just fine

>Fix:
	
	Add explicit -I/usr/include/g++ to CXXFLAGS
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804261528.LAA26920>