GCC questions
Jochen Küpper
kuepper.jochen at googlemail.com
Fri Mar 21 10:54:55 PDT 2008
On 21.03.2008, at 17:49, Alejandro Aragon wrote:
> 1. I use autotools for a project, so I can specify in the configure
> script that the compiler be different from the default found in /usr/
> bin using compiler flags: $./configure CXX=/opt/include/bin/g++-
> mp-4.3. Is there a better way to do this?
You could set CXX in /etc/cshrc or euivalent.
> Every time you #include a C++ header, I guess it looks under the /
> usr/include directory first.
See CPLUS_INCLUDE_PATH
> 3. When I type echo $PATH I get
>
> /sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/
> sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin
Do you still have fink around in /sw? That's bound to be messy, I've
heard...
Greetings,
Jochen
--
Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de
Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D
Sex, drugs and rock-n-roll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/db9ca3ba/attachment.bin
More information about the macports-users
mailing list