[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] building on FreeBSD.......

From: Michael Petch
Subject: Re: [Bug-gnubg] building on FreeBSD.......
Date: Tue, 18 Feb 2014 10:20:05 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 2014-02-18 09:51, Eli Dayan wrote:
> % CC=gcc49 CPPFLAGS="-O3 -funroll-loops -march=native -mtune=native
> --enable-simd=avx" ./configure

Oops I see the problem.

--enable-simd=avx is not a compiler flag, it is a configure parameter so
shouldn't be part of the CPPFLAGS environment variable. If you review
your commands it incorrectly appears between the quotes as part of CPPFLAGS.

You should be using:

./configure CC="gcc49" CPPFLAGS="-O3 -funroll-loops -march=native
-mtune=native -I/usr/local/include" LDFLAGS="-L/usr/local/lib"

You also need the paths on FreeBSD to make sure all the libraries and
header files are properly found. Leaving them out could cause other
problems or features not be compiled in.

Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304

reply via email to

[Prev in Thread] Current Thread [Next in Thread]