[Gridflow-dev] compilation osx 10.6.4 -
Patrick Boivin
pboivin at gmail.com
Mon Oct 4 11:21:03 EDT 2010
Salut Alexandre,
Quand je fais les paquets osx-ppc, je dois changer manuellement la
première ligne du fichier config.make après l'étape "./configure
--use-cpu ppc"
De:
CFLAGS += -I/sw/include -I/usr/local/include -I/Users/pboivin/include
-I. -I/usr/X11R6/include -O3 -mtune=$(CPU) -march=$(CPU) -DMACOSX
À:
CFLAGS += -I/sw/include -I/usr/local/include -I/Users/pboivin/include
-I. -I/usr/X11R6/include -O3 -arch $(CPU) -DMACOSX
C'est peut-être une différence au niveau des flags du gcc d'osx ?
Patrick
On Sun, Oct 3, 2010 at 11:01 PM, Alexandre Castonguay
<acastonguay at artengine.ca> wrote:
> J'ai réussi à commencer la compilation avec './configure --use-cpu=x86-64'
> mais j'ai une erreur plus loin :
>
> g++ -xc++ -I/sw/include -I/usr/local/include -I/Users/alx/include -I.
> -I/usr/X11R6/include -O3 -mtune=x86-64 -march=x86-64 -DMACOSX -Wall
> -Wno-unused -Wunused-variable -Wno-trigraphs -g -I.
> -mmacosx-version-min=10.4 -fPIC -DPDSUF=\".pd_darwin\" -c src/numop1.cxx.fcs
> -o src/numop1.o
> src/numop1.cxx.fcs:1: warning: -mtune=x86-64 is deprecated. Use -mtune=k8 or
> -mtune=generic instead as appropriate.
> src/numop1.cxx.fcs: In static member function ‘static T Yabs<T>::f(T) [with
> T = unsigned char]’:
> src/numop1.cxx.fcs:34: instantiated from ‘static T OpLoops<O, T>::f(T) [with
> O = Yabs<unsigned char>, T = unsigned char]’
> src/numop1.cxx.fcs:36: instantiated from ‘static void OpLoops<O,
> T>::_map(long int, T*) [with O = Yabs<unsigned char>, T = unsigned char]’
> src/numop1.cxx.fcs:107: instantiated from here
> src/numop1.cxx.fcs:72: warning: comparison is always false due to limited
> range of data type
> src/numop1.cxx.fcs: In static member function ‘static T Yisinf<T>::f(T)
> [with T = float]’:
> src/numop1.cxx.fcs:34: instantiated from ‘static T OpLoops<O, T>::f(T) [with
> O = Yisinf<float>, T = float]’
> src/numop1.cxx.fcs:36: instantiated from ‘static void OpLoops<O,
> T>::_map(long int, T*) [with O = Yisinf<float>, T = float]’
> src/numop1.cxx.fcs:130: instantiated from here
> src/numop1.cxx.fcs:99: error: ‘isinf’ was not declared in this scope
> src/numop1.cxx.fcs: In static member function ‘static T Yisinf<T>::f(T)
> [with T = double]’:
> src/numop1.cxx.fcs:34: instantiated from ‘static T OpLoops<O, T>::f(T) [with
> O = Yisinf<double>, T = double]’
> src/numop1.cxx.fcs:36: instantiated from ‘static void OpLoops<O,
> T>::_map(long int, T*) [with O = Yisinf<double>, T = double]’
> src/numop1.cxx.fcs:130: instantiated from here
> src/numop1.cxx.fcs:99: error: ‘isinf’ was not declared in this scope
> src/numop1.cxx.fcs: In static member function ‘static T Yisnan<T>::f(T)
> [with T = float]’:
> src/numop1.cxx.fcs:34: instantiated from ‘static T OpLoops<O, T>::f(T) [with
> O = Yisnan<float>, T = float]’
> src/numop1.cxx.fcs:36: instantiated from ‘static void OpLoops<O,
> T>::_map(long int, T*) [with O = Yisnan<float>, T = float]’
> src/numop1.cxx.fcs:132: instantiated from here
> src/numop1.cxx.fcs:101: error: ‘isnan’ was not declared in this scope
> src/numop1.cxx.fcs: In static member function ‘static T Yisnan<T>::f(T)
> [with T = double]’:
> src/numop1.cxx.fcs:34: instantiated from ‘static T OpLoops<O, T>::f(T) [with
> O = Yisnan<double>, T = double]’
> src/numop1.cxx.fcs:36: instantiated from ‘static void OpLoops<O,
> T>::_map(long int, T*) [with O = Yisnan<double>, T = double]’
> src/numop1.cxx.fcs:132: instantiated from here
> src/numop1.cxx.fcs:101: error: ‘isnan’ was not declared in this scope
>
> _______________________________________________
> Gridflow-dev mailing list
> Gridflow-dev at lists.artengine.ca
> http://lists.artengine.ca/cgi-bin/mailman/listinfo/gridflow-dev
>
More information about the Gridflow-dev
mailing list