From owner-freebsd-questions Sat Mar 9 06:12:01 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA25632 for questions-outgoing; Sat, 9 Mar 1996 06:12:01 -0800 (PST) Received: from garnet.swn.com (garnet.swn.com [204.57.206.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA25218 for ; Sat, 9 Mar 1996 06:06:37 -0800 (PST) Received: from freedom.swn.com (freedom.swn.com [204.57.206.194]) by garnet.swn.com (8.6.12/951025.1515-dah) with SMTP id GAA15544 for ; Sat, 9 Mar 1996 06:04:37 -0800 Date: Wed, 31 Dec 1969 23:59:59 +0000 ( ) From: Don Dugger Reply-To: Don Dugger Subject: g++ question To: questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Sender: owner-questions@freebsd.org X-Loop: owner-questions@FreeBSD.ORG Precedence: bulk Hi, This is not specificly a FreeBSD question, but the people on this list are generally fairly knowledgeable. I've been writting a C++ program that uses curses, it importend that it's platform independent. I started it at work on a Linux system. Then brought it home to my FreeBSD 2.1R system. But it won't link, the curses function calls are being looked for as C++ calls (mangled). I'm using the same version of the GNU compiler on both system. It's only the curses function that are having this problem. Is there something I need to do to tell the compile not to treat the curses calls as C++ and why doesn't it do this to other lib calls. Thx in advance.. Don 8) --------------------------------------------------------------- Don Dugger | e-mail: dugger@swn.com Engineering | Voice: (206) 885-0088 Securicor Wireless Networks | Fax: (206) 885-1087 15379 NE 90th Street | WWW: Coming Soon Redmond, WA. 98052 USA | ---------------------------------------------------------------