[Xorp-users] Trouble compiling in FreeBSD 4.10-stable
Pavlin Radoslavov
pavlin@icir.org
Mon, 12 Jul 2004 22:03:54 -0700
> FYI, i used this command line to configure:
>
> ./configure --enable-optimize --enable-advanced-mcast-api --without-snmp
>
> Do you think it's safe to use -march=i686 -mcpu=i686 in compiler flags?
Just for the kick of it, I tried it with the additional i686 flags, and
it seems to work (at least, gmake check succeeds). I have tried it
only with gcc34 on FreeBSD:
pavlin@possum[1] gcc34 --version
gcc34 (GCC) 3.4.0 20040310 (prerelease) [FreeBSD]
FYI, if someone wants to add more compilation flags without
modifying configure.in, the CFLAGS and CXXFLAGS environmental
variables can be used for that:
setenv CFLAGS "-march=i686 -mtune=i686"
setenv CXXFLAGS "-march=i686 -mtune=i686"
./configure --enable-optimize --enable-advanced-mcast-api --without-snmp
Pavlin