Should that be CXXFLAGS= - put -O1
CXXFLAGS = -O1 as I've made this change in my makefile, but it's either not working, or not working as expected. Please help;)
-thomas
new output:
source='Root.cc' object='Root.lo' libtool=yes \
depfile='.deps/Root.Plo' tmpdepfile='.deps/Root.TPlo' \
depmode=gcc /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O1 -Wall -g -c -o Root.lo `test -f Root.cc || echo './'`Root.cc
rm -f .libs/Root.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O1 -Wall -g -c Root.cc -Wp,-MD,.deps/Root.TPlo -fno-common -DPIC -o .libs/Root.lo
/var/tmp/cccWoaaa.s:unknown:Fixup of -42572 too large for field width of 16 bits
/var/tmp/cccWoaaa.s:unknown:Fixup of -60580 too large for field width of 16 bits
/var/tmp/cccWoaaa.s:unknown:Fixup of -67708 too large for field width of 16 bits
/var/tmp/cccWoaaa.s:unknown:Fixup of -69504 too large for field width of 16 bits
make[4]: *** [Root.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
On Tuesday, May 21, 2002, at 08:10 AM, Thomas Kotzian wrote:
i had the same problem when porting nget to macosx.
You have to change -O2 to -O1 - there is a bug in the optimzation routine of gcc that gets triggered somehow. - put -O1 works!
you can do this by setting the CPPFLAGS environment variable ... - please look at the nget-package 1.18.1 in fink.
