Hello,

I downloaded and instaled gcc-6.2.0-64.exe

BR

JK


st 25. 9. 2019 o 21:56 Stéphane Mottelet <stephane.motte...@utc.fr>
napísal(a):

> Hello
>
> Which version of gcc did you download from equation.com ?
>
> S.
>
> > Le 25 sept. 2019 à 21:01, kjubo <kopac.ja...@gmail.com> a écrit :
> >
> > Dear all,
> >
> > I am trying to make a c code.
> > I instaled mingw (from equation.com) and MinGw toolbox from ATOMS.
> >
> > When I try to use a example code from call help page, I get following
> error:
> > (full scilab console print)
> >
> >
> >    Generate a loader file
> >   Generate a Makefile
> >   Running the Makefile
> >   Compilation of fooc.obj
> >   Building shared library (be patient)
> >
> > ------------- Compile file fooc.c --------------
>
> > !
> >
> > !
> > x86_64-w64-mingw32-gcc.exe -c -DWIN32 -DSTRICT -DFORDLL -D_MSC_VER
> > -I"C:/NONINS~1/SCILAB~1.2/libs/MALLOC/includes"!
> > -I"C:/NONINS~1/SCILAB~1.2/libs/f2c" -I"C:/NONINS~1/SCILAB~1.2/libs/intl"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/core/i!
> > ncludes" -I"C:/NONINS~1/SCILAB~1.2/modules/api_scilab/includes"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/call_scilab/incl!
> > udes" -I"C:/NONINS~1/SCILAB~1.2/modules/output_stream/includes"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/jvm/includes" -I!
> > "C:/NONINS~1/SCILAB~1.2/modules/localization/includes"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/dynamic_link/includes" -I!
> > "C:/NONINS~1/SCILAB~1.2/modules/mexlib/includes"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/time/includes" -I"C:/NONINS~1/S!
> > CILAB~1.2/modules/windows_tools/includes"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/threads/includes" -I"C:/NONINS~1/SCILA!
> > B~1.2/modules/ast/includes/ast"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/ast/includes/exps"
> > -I"C:/NONINS~1/SCILAB~1.2/mod!
> > ules/ast/includes/operations"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/ast/includes/parse"
> > -I"C:/NONINS~1/SCILAB~1.2/modu!
> > les/ast/includes/symbol"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/ast/includes/system_env"
> > -I"C:/NONINS~1/SCILAB~1.2/modu!
> > les/ast/includes/types"
> > -I"C:/NONINS~1/SCILAB~1.2/modules/ast/includes/analysis"
> > -I"C:/NONINS~1/SCILAB~1.2/modules!
> > /string/includes" -I"C:/NONINS~1/SCILAB~1.2/modules/console/includes"
> -m64
> > -D__SCILAB_TOOLBOX__  -DNDEBUG  fooc.c !
> >
> > !
> > ------------- Link files --------------
>
> > !
> >
> > !
> > x86_64-w64-mingw32-g++.exe --shared fooc.o -std=c++11 -L"c:\program
> > files\gcc\x86_64-w64-mingw32\lib" -LC:\Users\j!
> > kopac\AppData\Roaming\Scilab\scilab-6.0.2\mingwlib_x64 -lgfortran
> -lblasplus
> > -llibf2c -lcore -lcore_f -llapack -lo!
> > utput_stream -ldynamic_link -linteger -loptimization_f -llibjvm
> > -lscilocalization -llinpack_f -lcall_scilab -ltime!
> > -lapi_scilab -llibintl -last -lfileio -lio -lstring -lthreads
> -lsciconsole
> > -lscilab_windows -llibmex  -o libfooc.!
> > dll  -Wl,--out-implib=libfooc.a -Wl,--export-all-symbols
> > -Wl,--enable-auto-import                                 !
> >
> > !
> >
> C:\Users\jkopac\AppData\Roaming\Scilab\scilab-6.0.2\mingwlib_x64/liblibf2c.a:
> > file not recognized: File format not!
> > recognized
>
> > !
> >
> > !
> > collect2.exe: error: ld returned 1 exit status
>
> > !
> >
> > !
> > Makelib:127: recipe for target 'libfooc.dll' failed
>
> > !
> >
> > !
> > make: *** [libfooc.dll] Error 1
>
> > !
> > at line    25 of function dlwCompile    (
> >
> C:\NONINS~1\SCILAB~1.2\contrib\mingw\010~1.5\macros\windows\dlwCompile.sci
> > line 34 )
> > at line    70 of function ilib_compile  (
> > C:\NONINSTALL\scilab-6.0.2\modules\dynamic_link\macros\ilib_compile.sci
> line
> > 86 )
> > at line   104 of function ilib_for_link (
> > C:\NONINSTALL\scilab-6.0.2\modules\dynamic_link\macros\ilib_for_link.sci
> > line 118 )
> > at line    18 of executed file C:\Users\XXX\Documents\SciLab\c
> experiment\z
> > helpu\test_help_call.sce
> >
> > ilib_compile: Error while executing Makelib
> >
> >
> > Can anybody help, how to make it works?
> > (SciLab 6.0.2 on Win 7 PRO, 64 bit)
> >
> > thanks!
> >
> > BR
> > JK
> >
> >
> >
> > --
> > Sent from:
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
> > _______________________________________________
> > users mailing list
> > users@lists.scilab.org
> >
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to