Compiling with gcc -march ix86

Francois Tigeot ftigeot at
Sun Dec 26 00:04:49 PST 2010

On Fri, Dec 24, 2010 at 05:34:38PM -0500, 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 scripts?

Why don't you try asterisk18 from pkgsrc -head ?

It builds fine out-of the box on DragonFly/i386.

Francois Tigeot

More information about the Users mailing list