Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : MinGw toolbox details
Please login or create an account

MinGw toolbox

Dynamic link with MinGW for Scilab on Windows
(1839 downloads for this version - 181652 downloads for all versions)
Details
Version
0.6
A more recent valid version with binaries for Scilab 5.3 exists: 0.8
Author
Allan CORNET
Owner Organization
Scilab Consortium - Digiteo
Maintainer
Allan Cornet
Category
License
Creation Date
December 9, 2010
Source created on
Scilab 5.3.x
Binaries available on
Scilab 5.3.x:
Windows 32-bit Windows 64-bit
Install command
--> atomsInstall("mingw")
Description
            MinGW Compiler support for Scilab 5.3 and more on Windows

You need to install MinGW package distributed by Equation Solution

http://www.equation.com/servlet/equation.cmd?fa=programminglog

On Windows 32 bits platform
 (* x86) ftp://ftp.equation.com/gcc/gcc-4.5.1-32.exe

On Windows 64 bits platform
  with Scilab 32 bits:
 (* x86) ftp://ftp.equation.com/gcc/gcc-4.5.1-32.exe

  with Scilab 64 bits:
 (* x64) ftp://ftp.equation.com/gcc/gcc-4.5.1-64.exe


            
Files (3)
[54.77 kB]
Source code archive

[94.34 kB]
Windows 32-bit binary for Scilab 5.3.x
Windows 32-bit
Automatically generated by the ATOMS compilation chain

[94.34 kB]
Windows 64-bit binary for Scilab 5.3.x
Windows 64-bit
Automatically generated by the ATOMS compilation chain

News (0)
Comments (2)     Leave a comment 
Comment from Adrien Vogt-schilb -- January 25, 2011, 11:42:55 AM    
This toolbox is very usefull. Compiling externals with GCC is more than ten much faster
than with Visual Studio in my computer. Thak you very much.

However: why using such a specific variant of MinGW ? Equations.com provides binaires, not
source code, which may be an issue. 
Answer from Allan Cornet -- January 25, 2011, 11:58:11 AM    
> This toolbox is very usefull. Compiling externals with GCC is more than ten much faster
> than with Visual Studio in my computer. Thak you very much.
> 
> However: why using such a specific variant of MinGW ? Equations.com provides binaires,
> not
> source code, which may be an issue. 


binaires provided by Equations.com are "stable" have win32 & win64 support and includes 
gfortran and have some tools to convert vc lib to mingw lib and have a easy way to detect
if 
it is installed or not.

I will try to add a detection of mingw already installed and not packaged by Equation, but

it is not so easy ...

Allan
Answer from Adrien Vogt-schilb -- March 18, 2011, 11:07:36 AM    
> binaires provided by Equations.com are "stable" have win32 & win64 support and includes
> 
> gfortran and have some tools to convert vc lib to mingw lib and have a easy way to
> detect if 
> it is installed or not.

>

OK, but there is still the issue that they are difficult to download. Is there any chance
that you provide a mirror or torrents of those binaries?
Comment from Adam Lawrence -- March 14, 2011, 01:45:00 AM    
Some problems:

1) ftp://ftp.equation.com/gcc/gcc-4.5.1-64.exe does not exist on the server any more. The
closest version is 4.5.2.

2) When installed, after rebooting the program crashed attempting to convert the second
library. A hard restart later and everything seemed fine:

Startup execution:
  loading initial environment

Mingw Compiler support for Scilab
	Load macros
	Load help

although it didn't try to convert libraries ever again.

3) The makefile was looking for:

x86_64-pc-mingw32-gcc.exe

which does not exist. The closest file is:

x86_64-w64-mingw32-gcc.exe

which I copied to the former, and got a little further along.

4) Trying to compile the example buck converter simulation, I get an error:

!c:/users/adam/gcc/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/bin/ld.exe:
cannot find -lMALLOC

Any suggestions?
Answer from Allan Cornet -- March 14, 2011, 06:07:07 AM    
Thanks for your report

mingw gcc-4.5.1 has been updated and requires a update of this module


Allan
Answer from Allan Cornet -- March 14, 2011, 10:13:45 AM    
> Thanks for your report
> 
> mingw gcc-4.5.1 has been updated and requires a update of this module
> 
> 
> Allan


fixed with version 0.7
atomsSystemUpdate()
atomsInstall('mingw')


allan
Leave a comment
You must register and log in before leaving a comment.
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.