Compiling with gcc -march ix86

Stephane Russell srussell at prodigeinfo.com
Sun Jan 2 18:13:39 PST 2011


Don't work, unfortunatly.

$ setenv UNAME_M i686
$ uname -m
i386
$ echo $UNAME_M
i686

$ bootstrap.sh
[...]
$ configure
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.

SR


Le 2010-12-25 22:16, Justin C. Sherrill a écrit :
> On Fri, December 24, 2010 5:34 pm, Stephane Russell wrote:
>> Hi,
>>
>> 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
>> scripts?
> 
> 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.
> 






More information about the Users mailing list