DragonFly users List (threaded) for 2011-01
Re: Compiling with gcc -march ix86
Don't work, unfortunatly.
$ setenv UNAME_M i686
$ uname -m
$ echo $UNAME_M
checking build system type... i386-unknown-dragonfly2.8
checking host system type... i386-unknown-dragonfly2.8
configure: Package configured for:
configure: OS type : dragonfly2.8
configure: Host CPU : i386
I'll search for some workaround.
Thanks for the help.
Le 2010-12-25 22:16, Justin C. Sherrill a écrit :
> On Fri, December 24, 2010 5:34 pm, Stephane Russell wrote:
>> I'm actually trying to compile asterisk on DFBSD. It needs to compile
>> with the compiler option -march=ix86, with x>3 (gcc spec). But DFBSD
>> "uname -m" is returning systematically "i386". Is their a workaround for
>> that, that would allow me to compile without hacking the autotools
> You could set the environment variable UNAME_M to whatever you think would
> work; I don't know if that would get picked up during the build process,
> but it's worth a try. I'm interested in seeing asterisk work.