Fortran Compilation
Boris Bouchevreau
boris.bouchevreau at orange.fr
Thu Dec 8 14:07:18 CET 2011
Hello !
I've some problems using ilib_for_link/ilib_compile with fortran routines.
Trying the example bellow (from
SCI//modules/dynamic_link/examples/dynamic_link_c_and_fortran/ext1f.sce) :
ilib_for_link('ext1f','ext1f.f',[],'f');
it gives me this error :
ilib_for_link('ext1f','ext1f.f',[],'f');
Génère un fichier loader
Génère un Makefile
ilib_gen_Make : Copie les fichiers de compilation (Makefile*, libtool...)
vers TMPDIR
ilib_gen_Make : Copie ext1f.f vers TMPDIR
ilib_gen_Make : Modification du Makefile dans TMPDIR.
Exécute le Makefile
ilib_compile: Une erreur a été detectée lors de la compilation
!libtool: unrecognized option
`-I/Applications/scilab-5.3.3.app/Contents/MacOS/share/ !
! scilab/../../include/scilab/'
!
!
!
!Try `libtool --help' for more information.
!
!
!
!make: *** [ext1f.lo] Error 1
!
ilib_compile : La commande était :
make
CFLAGS="-I/Applications/scilab-5.3.3.app/Contents/MacOS/share/scilab/../../include/scilab/
"
CXXFLAGS="-I/Applications/scilab-5.3.3.app/Contents/MacOS/share/scilab/../../include/scilab/
"
FFLAGS="-I/Applications/scilab-5.3.3.app/Contents/MacOS/share/scilab/../../include/scilab/
"
Génère un fichier cleaner
I use Scilab 5.3.3, on Mac OS X 10.6.8 (Snow Leopard).
Fortran compiler version : GNU Fortran (GCC) 4.6.1
GCC version : i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1
Is there anybody knowing the answer to this pb ?
Boris
--
View this message in context: http://mailinglists.scilab.org/Fortran-Compilation-tp3570240p3570240.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
More information about the users
mailing list