Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations
Prof. Dr. Reinaldo Golmia Dante
tiraduvidascefet at yahoo.com
Tue May 3 04:55:56 CEST 2011
Hi Scilab users,
I uninstalled my Scilab 5.3 version 32 bits for Win 7 Home Edition to exchange to Scilab 5.3.1 version 64 bits, and
I simply deleted the gcc 32bits folder to install gcc 64bits through gcc-4.5.2-64.exe.
I executed gcc-4.5.2-64.exe and loggoff and login again my notebook.
Then, I tried to install MinGW typing:
<<
-->atomsInstall('mingw')
ans =
!mingw 0.8-1 user SCIHOME\atoms\mingw\0.8-1 I !
>>
I restarted Scilab again and appeared the message:
<<
Startup execution:
loading initial environment
Mingw Compiler support for Scilab
Load macros
Load help
>>
It seems that works well until I try to run a Scilab demonstration: I select "RCL circuit" and
click "START".
The Scilab console appears the message:
<<--------------------------------------------\
Main Modelica : C:\Users\Rei\AppData\Local\Temp\SCI_TMP_5572_\RLC_Modelica_im.mo
Flat Modelica : C:\Users\Rei\AppData\Local\Temp\SCI_TMP_5572_\RLC_Modelica_imf.mo
Simulation C code :C:\Users\Rei\AppData\Local\Temp\SCI_TMP_5572_\RLC_Modelica_im.c
Generate a loader file
Generate a Makefile
Running the Makefile
Compilation of RLC_Modelica_im.c
Building shared library (be patient)
!------------- Link files -------------- !
! !
!x86_64-w64-mingw32-gcc.exe --shared RLC_Modelica_im.o -L"c:\users\rei\gcc\x86_64-w64-mingw32\lib" -LC:\Users\Rei\AppData\Roaming\Scilab\scilab-5.3.1\mingwlib_x64!
! -lstdc++ -lgfortran -lMALLOC -lblasplus -lf2c -llapack -lscilab -lintersci -loutput_stream -ldynamic_link -linteger -loptimization_f -ljvm -lscilocalization!
! -lintl -llinpack_f -lcall_scilab -ltime -lapi_scilab -lhashtable -lscilab_windows -lscicos -lscicos_blocks -lscicos_blocks_f -lscicos_f -o libRLC_Modelica_i!
! m.dll -Wl,--out-implib=libRLC_Modelica_im.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl !
! !
!C:\Users\Rei\AppData\Roaming\Scilab\scilab-5.3.1\mingwlib_x64/libMALLOC.a: file not recognized: File truncated !
! !
!collect2: ld returned 1 exit status !
! !
!make: *** [libRLC_Modelica_im.dll] Error 1 !
!sorry compiling problem !
! !
!ilib_compile: Error while executing Makelib. !
>>
I think that gcc does not run properly. When I installed it, appeared a message that gcc was installed successfully !
When I used Scilab 5.3.0 and gcc-4.5.1-32.exe, all Scilab demonstrations worked very well ..
But now with Scilab 5.3.1 version - 64 bits and gcc-4.5.2-64.exe ... they don't ...
Isn't it enough to run gcc-4.5.2-64.exe to install gcc compiler in my Windows 7 Home edition 64 bits ? How can I set up my Windows to
recognize gcc compiler ? And if there is a file like "makefile", how can I find it in Win 7 ?
Thank you in advance.
All best,
Reinaldo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110502/701b9d05/attachment.htm>
More information about the users
mailing list