mkoctfile and compiler options
john.2.tomlinson at bt.com
john.2.tomlinson at bt.com
Wed Sep 3 07:57:35 CDT 2008
All
Is there anyway I can stop mkoctfile from using the -O2 optimiser flag?
I have tried re-building octave without the flag set in the CFLAGS
environment variable. I have tried setting CFLAGS. Still mkoctfile
insists on inserting the -O2 flag
octave:3> mkoctfile -p CFLAGS
-ggdb
octave:4> mkoctfile -v fred.cpp
g++ -c -fPIC -I/usr/local/include/octave-3.0.2
-I/usr/local/include/octave-3.0.2/octave -I/usr/local/include -mieee-fp
-g -O2 fred.cpp -o fred.o
g++ -shared -Wl,-Bsymbolic -o fred.oct fred.o
-L/usr/local/lib/octave-3.0.2 -L/usr/local/lib -loctinterp -loctave
-lcruft -lfftw3 -lreadline -lncurses -ldl -lz -lm
-L/usr/lib/gcc-lib/i586-suse-linux/3.3.3
-L/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/lib
-L/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../.. -lz -lfrtbegin -lg2c
-lm
John Tomlinson
Wireless Networks
BT Design.
Ipswich, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20080903/79547684/attachment.html
More information about the Help-octave
mailing list