|
![](/i/fill.gif) |
>> what does ./configure --help say? there is probably an option
>> --enable-debug=yes for configure.
>>
> Yes, I've just try it now.
> No debug flag :)
>
> c++ -DPREFIX=\"/usr/local\"
> -DPOV_LIB_DIR=\"/usr/local/share/povray-3.5\"
> -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/usr/local/etc\"
> -DUSE_IO_RESTRICTIONS=\"\" `if [ "Xgcc" = "Xgcc" ]; then echo
> "-Wno-multichar"; fi ` -O3 -finline-functions -ffast-math
> -fomit-frame-pointer -funroll-loops -fexpensive-optimizations
> -malign-double -foptimize-sibling-calls -minline-all-stringops
> -Wno-multichar -c bezier.cpp
>
First:
be aware that -fomit-frame-pointer invalidates debugging (makes it
impossible in fact) on x86
Also, I'd suggest you use :
CFLAGS="-march=i686 -g -O3" CXXFLAGS="${CFLAGS} ./configure
on a clean set of sources, a check inside the config.log should show that
it compiles the test-programs with the right flags. Of course, the
-march=i686 is just a recommendation (take your normal ones here)
also, make sure you don't strip the binary.
//Spider
--
begin .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end
Post a reply to this message
|
![](/i/fill.gif) |