Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extra_Flags option in 0.90.4



Hi,

I need to tell gcc that our X11R5 libraries are not installed in the
usual place (we are still using X11R4 on the whole), and so I thought
I'd do it by defining the Extra_Flags option in my crosssite.def
file in the following way:

#define Extra_Flags -I/usr/X11R5/include -I/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.2/include

Now, this does not appear anywhere on the compilation line at any time,
ie Extra_Flags just doesn't seem to be picked up. And yes, I am remaking
the Makefiles before I try this. I've got around this problem in the past
by editing each Imakefile in each of the directories individually, adding
the following two lines:

IMAKE_INCLUDES=-I/usr/X11R5/include
INCLUDES=-I/usr/X11R5/include -I/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.3.2/include

and that has always worked. But it takes an age, and I don't want to have to
keep doing this considering the rate that new versions are coming out!
Am I using the Extra_Flags option incorrectly, and if not, can someone
else verify that this option no longer works?

Cheers,

Sy

Simon N. McIntosh-Smith, PhD candidate    |  Email : Simon.N.Smith@cm.cf.ac.uk
Room M/1.36 Department of Computing Maths |  Phone : +44 (0)222 874000
University of Wales, College of Cardiff   |  Fax   : +44 (0)222 666182
PO Box 916, Cardiff, Wales, CF2 4YN, U.K. |  Home  : +44 (0)222 560522
       Http : http://www.cm.cf.ac.uk:/People/Simon.Smith.html