[Scilab-Dev] Building Scilab with gfortran 4.3.3

Sylvestre Ledru sylvestre.ledru at scilab.org
Wed Mar 11 16:40:37 CET 2009


Le lundi 09 mars 2009 à 19:22 -0300, Jonathan Blanchard a écrit :
> hi,
> 
> I get a weird error when building Scilab with gfortran from gcc 4.3.3.
> The first Scilab statement that return a number return -0 but
> everything work fine for subsequent commands.
Knowing you, I guess you are running OpenSolaris or Solaris ?

> Also this only happen when building with gfortran, tried it with
> version 4.3.3 and 4.3.2 with same results.
How did you build Scilab before ?

> Building with f77 work fine but has a weird dependency on libg2c.so
You could try:
$ make LDFLAGS=" -lg2c"
or
$ ./configure  LDFLAGS=" -lg2c" && rm scilab-bin && make scilab-bin

> and I can't find the sources for that thing anywhere. If someone know
> how to build that library from source I would appreciate it.
It is a Runtime library for GNU Fortran 77 applications provided by/with f77.

Sylvestre





More information about the dev mailing list