[Scilab-users] C_Block and C_Fortran don't work on Scilab5.5.2 x64 windows 7

Perrichon perrichon.pierre at wanadoo.fr
Sun Oct 23 17:00:08 CEST 2016



Dear Scilab Team,

 

After having correctly install  gcc via MinGW on a PC Windows 7 x64, it's
impossible to drap and drop a C_Bock (or Fortran_Block) and get a correct

compilation. The linker refuses to operate due to the presence of the option
-Wl in the batch file MakeLib

 

It means that I am not able to create toolboxes in C langage, and can't
continue my project until this issue will be solved.

 

The object file .o seems to be correctly build.

 

See also Bugzilla #14816 for attached files

 

Errors :

 

!------------- Compile file essai.c --------------
!
!
!
!x86_64-w64-mingw32-gcc.exe -c -DWIN32 -D_MSC_VER -DSTRICT -DFORDLL
-I"C:/PROGRA~1/scilab/libs/MAL!
!     LOC/includes" -I"C:/PROGRA~1/scilab/modules/core/includes"
-I"C:/PROGRA~1/scilab/modules/api!
!     _scilab/includes" -I"C:/PROGRA~1/scilab/modules/call_scilab/includes"
-I"C:/PROGRA~1/scilab/!
!     modules/output_stream/includes"
-I"C:/PROGRA~1/scilab/modules/jvm/includes" -I"C:/PROGRA~1/s!
!     cilab/modules/localization/includes"
-I"C:/PROGRA~1/scilab/modules/dynamic_link/includes" -I!
!     "C:/PROGRA~1/scilab/modules/mexlib/includes"
-I"C:/PROGRA~1/scilab/modules/time/includes" -I!
!     "C:/PROGRA~1/scilab/modules/windows_tools/includes"
-I"C:/PROGRA~1/scilab/libs/f2c" -I"C:/PR!
!     OGRA~1/scilab/libs/hashtable" -I"C:/PROGRA~1/scilab/libs/intl" -m64
-I"C:/PROGRA~1/scilab/m!
!     odules/scicos/includes"
-I"C:/PROGRA~1/scilab/modules/scicos_blocks/includes"  essai.c      !
!
!
!------------- Link files --------------
!
!
!
!x86_64-w64-mingw32-gcc.exe --shared essai.o
-L"C:\Users\pierre\gcc\x86_64-w64-mingw32\lib" -LC:\!
!     Users\pierre\AppData\Roaming\Scilab\scilab-5.5.2\mingwlib_x64 -lstdc++
-lgfortran -lMALLOC -!
!     lblasplus -lf2c -llapack -lcore -lcore_f -lintersci -loutput_stream
-ldynamic_link -linteger!
!      -loptimization_f -ljvm -lscilocalization -lintl -llinpack_f
-lcall_scilab -ltime -lapi_scil!
!     ab -lscilab_windows -lscicos -lscicos_blocks -lscicos_blocks_f
-lscicos_f -o libessai.dll  -!
!     Wl,--out-implib=libessai.a -Wl,--export-all-symbols
-Wl,--enable-auto-import -Wl    "C:\Users\p!
!     ierre\AppData\Roaming\Scilab\scilab-5.5.2\mingwlib_x64\libscicos.a"
"C:\Users\pierre\AppData!
!     \Roaming\Scilab\scilab-5.5.2\mingwlib_x64\libscicos_f.a"
"C:\Users\pierre\AppData\Roaming\Sc!
!     ilab\scilab-5.5.2\mingwlib_x64\libscicos_blocks.a"
"C:\Users\pierre\AppData\Roaming\Scilab\s!
!     cilab-5.5.2\mingwlib_x64\libscicos_blocks_f.a"
!
!
!
!x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-Wl'
!
!
!
!make: *** [libessai.dll] Error 1
!
 
!sorry compiling problem                            !
!                                                   !
!ilib_compile : Erreur à l'exécution de Makelib.  !

 

 

 

 

 

Sincerely

Pierre

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161023/4a22b734/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 906 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20161023/4a22b734/attachment.gif>


More information about the users mailing list