From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17180 invoked by alias); 30 Jul 2005 09:50:53 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17156 invoked by uid 22791); 30 Jul 2005 09:50:46 -0000 Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 30 Jul 2005 09:50:46 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 5B41F1DB41; Sat, 30 Jul 2005 11:50:44 +0200 (CEST) From: Andreas Schwab To: howarth@bromo.msbb.uc.edu (Jack Howarth) Cc: gcc@gcc.gnu.org Subject: Re: strange error on gcc 4.1.0 References: <20050730084400.625CD1DC154@bromo.msbb.uc.edu> X-Yow: I had pancake makeup for brunch! Date: Sat, 30 Jul 2005 09:50:00 -0000 In-Reply-To: <20050730084400.625CD1DC154@bromo.msbb.uc.edu> (Jack Howarth's message of "Sat, 30 Jul 2005 04:44:00 -0400 (EDT)") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-07/txt/msg01246.txt.bz2 howarth@bromo.msbb.uc.edu (Jack Howarth) writes: > I am trying to build xplor-nih on MacOS X 10.4 using gcc 4.1.0 > branch's gcc and g++ instead of Apple's and am running into a really > strange error. I find the following linkage fails... > > g++-4 -bundle -flat_namespace -undefined suppress _xplorWrap.o libswigpy-xplor.dylib -o _xplorWrap.so -L/Users/howarth/Desktop/xplor-nih-2.11.2.1/bin.Darwin_8/ -lcommon -lnmrPot -lintVar -lvmd -lpy -lswigpy-xplor \ $ info gcc 'Target Options' [...] `-b MACHINE' The argument MACHINE specifies the target machine for compilation. [...] The `-V' and `-b' options work by running the `-gcc-' executable, so there's no real reason to use them if you can just run that directly. > Shouldn't the stock gcc 4.1.0 support the -bundle flag? It's an Apple-specific flag. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."