-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10.6/i386 I get:

...
g++-4    -c   -Wall   -I/usr/X11/include -I/sw32/include
- -I/sw32/include/python2.6
-
-I/sw32/src/fink.build/gildas-201104d-2/gildas-src-apr11d/integ/x86_64-darwin-gfortran-32bits/include
- -pipe -fPIC -m32 -Ddarwin -DDARWIN -arch i386 -DPNG
- -I/sw32/include/gtk-2.0 -I/sw32/lib/gtk-2.0/include
- -I/sw32/include/atk-1.0 -I/sw32/include/cairo -I/sw32/include/pango-1.0
- -I/sw32/include/glib-2.0 -I/sw32/lib/glib-2.0/include
- -I/sw32/include/freetype2 -I/sw32/include -I/usr/X11R6/include
- -I/usr/X11/include -O -Dunderscore -DGAG_USE_32BITS -DGAG_USE_GTK
- -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_THREADS -DGAG_USE_UNDERSCORE
ATMOpacity.cpp -o built/x86_64-darwin-gfortran-32bits/ATMOpacity.o
cc1plus: error: unrecognized command line option "-arch"

$ which g++-4
/sw32/bin/g++-4

$ dpkg -S /sw32/bin/g++-4
gcc45: /sw32/bin/g++-4

Which, indeed, doesn't support "-arch".  At the same point on
10.6/x86_64, the compiler line shows:

g++-4    -c   -Wall   -I/usr/X11/include -I/sw64/include
- -I/sw64/include/python2.6
-
-I/sw64/src/fink.build/gildas-201104d-2/gildas-src-apr11d/integ/x86_64-darwin-gfortran/include
- -pipe -fPIC -Ddarwin -DDARWIN -DPNG -I/sw64/include/gtk-2.0
- -I/sw64/lib/gtk-2.0/include -I/sw64/include/atk-1.0
- -I/sw64/include/cairo -I/sw64/include/pango-1.0 -I/sw64/include/glib-2.0
- -I/sw64/lib/glib-2.0/include -I/sw64/include/freetype2 -I/sw64/include
- -I/usr/X11R6/include -I/usr/X11/include -O -Dunderscore -DGAG_USE_GTK
- -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_THREADS -DGAG_USE_UNDERSCORE
ATMOpacity.cpp -o built/x86_64-darwin-gfortran/ATMOpacity.o
ar cr
/sw64/src/fink.build/gildas-201104d-2/gildas-src-apr11d/integ/x86_64-darwin-gfortran/lib/libatm2009.a
built/x86_64-darwin-gfortran/ATMOpacity.o

Since there's no -arch flag, this works.

On 10.5/powerpc, the failure mode is different:

gfortran -c   -fimplicit-none -Wuninitialized -Wunused-variable   -I./
- -I./built/powerpc-darwin-gfortran
-
-I/sw/src/fink.build/gildas-201104d-2/gildas-src-apr11d/integ/powerpc-darwin-gfortran/include
 -J./built/powerpc-darwin-gfortran -pipe -fno-backslash -fno-range-check
- -fno-second-underscore -fPIC -O
built/powerpc-darwin-gfortran/image_def.f90 -o
built/powerpc-darwin-gfortran/image_def.o
built/powerpc-darwin-gfortran/image_def.f90:45.39:

    integer(kind=4) :: form    = fmt_r4   !  4  Data format (FMT_xx)
                                       1
Error: Symbol 'fmt_r4' at (1) has no IMPLICIT type
built/powerpc-darwin-gfortran/image_def.f90:131.41:

    integer(kind=4) :: form      = fmt_r4  !  4
                                         1
Error: Symbol 'fmt_r4' at (1) has no IMPLICIT type
make[2]: *** [built/powerpc-darwin-gfortran/image_def.o] Error 1
rm built/powerpc-darwin-gfortran/gildas_def.f90
built/powerpc-darwin-gfortran/gbl_format.f90
built/powerpc-darwin-gfortran/gildas_def.o
built/powerpc-darwin-gfortran/gbl_format.o
built/powerpc-darwin-gfortran/image_def.f90
make[1]: *** [default-install] Error 1
make: *** [default-install] Error 1
### execution of /var/tmp/tmp.1.BOdiwU failed, exit code 2

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3m1iYACgkQB8UpO3rKjQ9OCwCfTCB4gmh5TdP/VJSW02ZKA/vd
UlsAoKQvvKL51AX7lIeARYI8MhiCsx/8
=56Te
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to