Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : MinGw toolbox details
Login with GitLab

MinGw toolbox

Dynamic link with MinGW for Scilab on Windows
(3422 downloads for this version - 267535 downloads for all versions)
Details
Version
0.9.1
A more recent valid version with binaries for Scilab 5.4 exists: 0.9.3
Author
Allan CORNET
Owner Organization
Scilab Consortium - Digiteo
Maintainer
Vincent COUVERT
Category
License
Creation Date
November 26, 2012
Source created on
Scilab 5.4.x
Binaries available on
Scilab 5.4.x:
Windows 32-bit Windows 64-bit
Install command
--> atomsInstall("mingw")
Description
            MinGW Compiler support for Scilab 5.4 and more on Windows

You need to install MinGW package distributed by Equation Solution

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

ftp://ftp.equation.com/gcc

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

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

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


            
Files (3)
[21.77 kB]
Source code archive

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

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

News (0)
Comments (6)     Leave a comment 
Comment from Dafe Ojikutu -- January 15, 2013, 04:10:05 PM    
Hello Allan,

I installed the minGW Toolbox version 0.9.1-1 x64 on my window 7(x64) machine with the
Atoms Tool in Scilab but I get the following error message when I start Scilab 5.4 (x64):
 
Startup execution:
  loading initial environment

Mingw Compiler support for Scilab
	Load macros
Converting Libraries.
Build libblasplus.a
atomsLoad: An error occurred while loading 'mingw-0.9.1-1':
	dos: Can not read input argument #1.



I would appreciate any help you could give to resolve this issue .

Thanks 

Dafe 
Answer from Simon GARESTE -- January 15, 2013, 04:18:34 PM    
Hi Dafe,

Did you install http://www.equation.com/servlet/equation.cmd?fa=programminglog as said in 
the description?

> Hello Allan,
> 
> I installed the minGW Toolbox version 0.9.1-1 x64 on my window 7(x64) machine with
the
> Atoms Tool in Scilab but I get the following error message when I start Scilab 5.4
> (x64):
>  
> Startup execution:
>   loading initial environment
> 
> Mingw Compiler support for Scilab
> 	Load macros
> Converting Libraries.
> Build libblasplus.a
> atomsLoad: An error occurred while loading 'mingw-0.9.1-1':
> 	dos: Can not read input argument #1.
> 
> 
> 
> I would appreciate any help you could give to resolve this issue .
> 
> Thanks 
> 
> Dafe 
Comment from Dafe Ojikutu -- January 16, 2013, 11:47:04 AM    
Hi Simon,

Thank you for your quick reply.

Yes, I first installed the gcc-4-5.2-64.exe from www.Equation.com as mentioned in the
description and next I installed the MinGW Toolbox.

Comment from David Dorchies -- January 21, 2013, 03:23:39 PM    
Hi everybody, 

I use to compile C code in Scilab with the previous versions of Scilab and the Mingw
module, and it works well on Scilab 5.3.3. (Thanks for that guys !)
With Scilab 5.4, since I installed the Mingw ATOMS, Scilab crashes when it loads the
module just after the line "Build libblasplus.a".
I am on Windows 7 32 bits.

Please keep me in touch if you have an idea of the origin of this dysfunction.

Thanks,

David
Comment from Jan-Wim Eikenbroek -- January 27, 2013, 09:54:02 PM    
Hello everybody



After succesfully installing the MinGw toolbox on Windows Vista (64 bits) and Windows 7 
(64 bits) machines, I encountered an error on a new Windows 8 (64 bits-) machine.

After I succesfully installed MinGW, I tried to install the MinGW toolbox, and  I got the 
following error message in the Scilab console:



atomsExtract: The extraction of the archive 'F:\Program Files\scilab-
5.4.\contrib\mingw\mingw_0.9.1-1.bin.x64.windows.zip' has failed.



Any help is appreciated.



Best regards,



Jan-Wim
Comment from Silvio Kuehn -- April 1, 2013, 02:44:10 PM    
Hi everybody,
i installed the toolbox 0.9.1 on win7/64 and got trouble during compiling/linking of other

toolboxes (i.e. usb-hid, own work,..). In my case the problem was a linker option defined 
in the template scripting file for building make-files (c:\Program Files
\scilab-5.4.0\contrib\mingw_0.9.1\scripts\TEMPLATE_MAKEFILE.MINGW):

original:
	$(LINKER) $(LINKER_FLAGS) -o $(LIBRARY).dll $(OTHERLIBS) -Wl,--out-implib=
$(LIBRARY).a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl	$(EXTRA_LDFLAGS)


works now:
	$(LINKER) $(LINKER_FLAGS) -o $(LIBRARY).dll $(OTHERLIBS) -Wl,--out-implib=
$(LIBRARY).a -Wl,--export-all-symbols -Wl,--enable-auto-import	$(EXTRA_LDFLAGS)


Now the "-Wl" is missing after "--enable-auto-import". Since that, i
have a lot of fun...

Kind regards
Answer from Vincent COUVERT -- April 5, 2013, 03:23:58 PM    
Hello,

We could not reproduce this error. Which MinGW version do you use?

Regards

> Hi everybody,
> i installed the toolbox 0.9.1 on win7/64 and got trouble during compiling/linking of
> other 
> toolboxes (i.e. usb-hid, own work,..). In my case the problem was a linker option
> defined 
> in the template scripting file for building make-files (c:\Program Files
> \scilab-5.4.0\contrib\mingw_0.9.1\scripts\TEMPLATE_MAKEFILE.MINGW):
> 
> original:
> 	$(LINKER) $(LINKER_FLAGS) -o $(LIBRARY).dll $(OTHERLIBS) -Wl,--out-implib=
> $(LIBRARY).a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl	$(EXTRA_LDFLAGS)
> 
> 
> works now:
> 	$(LINKER) $(LINKER_FLAGS) -o $(LIBRARY).dll $(OTHERLIBS) -Wl,--out-implib=
> $(LIBRARY).a -Wl,--export-all-symbols -Wl,--enable-auto-import	$(EXTRA_LDFLAGS)
> 
> 
> Now the "-Wl" is missing after "--enable-auto-import". Since that,
i
> have a lot of fun...
> 
> Kind regards
Comment from Silvio Kuehn -- April 16, 2013, 11:07:24 AM    
Oh, i answered to the atoms.admin@scilab.org, that was may be wrong. Here my original 
answer from Fri, 5 Apr 2013 16:41:41 +0200:

Hi Vincent,

> We could not reproduce this error.   
I am not surprised, but it is just my experience.

> Which MinGW version do you use?  
i use version 0.9.1 on win7/64. See attached file (should be the
original file form your homepage). I copied it to Scilab/contrib and
installed gcc-4.7.2-64.exe form the recommended web page. All
compilation efforts did fail during linking step.

I also attached my changed
toolbox-tree (c:\Program Files\scilab-5.4.0\contrib\mingw_0.9.1\). May
be it will help.
If you have further question, don't hesitate and ask me, the
scilab-fan ;-)

Kind regards
Answer from Vincent COUVERT -- May 13, 2013, 02:04:34 PM    
Hi Silvio,

After investigation, it seems that this error comes from the gcc version you use. Can you 
try to downgrade your version to 4.5.2 for example? It seems that the -Wl flag is no more 
supported.

Regards.

> Oh, i answered to the atoms.admin@scilab.org, that was may be wrong. Here my original

> answer from Fri, 5 Apr 2013 16:41:41 +0200:
> 
> Hi Vincent,
> 
> > We could not reproduce this error.   
> I am not surprised, but it is just my experience.
> 
> > Which MinGW version do you use?  
> i use version 0.9.1 on win7/64. See attached file (should be the
> original file form your homepage). I copied it to Scilab/contrib and
> installed gcc-4.7.2-64.exe form the recommended web page. All
> compilation efforts did fail during linking step.
> 
> I also attached my changed
> toolbox-tree (c:\Program Files\scilab-5.4.0\contrib\mingw_0.9.1\). May
> be it will help.
> If you have further question, don't hesitate and ask me, the
> scilab-fan ;-)
> 
> Kind regards
Answer from Silvio Kuehn -- May 14, 2013, 06:18:33 PM    
Hi Vincent,
i also assume, that the gcc-flag makes trouble, but actually i don't like downgrade the 
system. You know the phrase: "don't change a running system". I am afraid to deny
your 
wish. I am sorry.

Kind regards

silvio

> Hi Silvio,
> 
> After investigation, it seems that this error comes from the gcc version you use. Can
> you 
> try to downgrade your version to 4.5.2 for example? It seems that the -Wl flag is no
> more 
> supported.
> 
> Regards.
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
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.