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