Fortran and C apps have problems when going from f2c to g2c
libs. The file unix.c in Spice no longer compiles for
a fortran app using xargc and xargv will no longer work.
g77 docs that explain the differences and using '-lg2c -lm'
using '-lf2c' and the types of changes are explained here:
linking with f__xargc should work according to the docs,
however I'm still testing this and I'm having trouble
compiling and getting it to work, note after my changes:
[root@kenny Spice2g6]# cd src/
[root@kenny src]# ls
Makefile README spice.f
Makefile.make libspice spice.f.sec unix-mm.c
Makefile.win32 mm.h spice.h
[root@kenny src]# make
cd libspice ; make
make: Entering directory
make: `libspice.a' is up to date.
make: Leaving directory
gcc -g -O2 spice.o unix.o unix-mm.o libspice/libspice.a -g
-O2 -lg2c -lm
-lc -o spice
unix.o: In function `iopraw_':
collect2: ld returned 1 exit status
make: *** [spice] Error 1
assigned to kingdon. I doubt that there are any more Spice problems or
that is anything we can do better.
this bug used to be owned by email@example.com, now timp is the new
Tim, can you verify that spice now compiles okay?
Tim, did you check whether spice is now compiling? I'm not planning
to do anything about this until someone can supply me with a test
case (or, perhaps, more hints about where to find spice - I looked
a bit for a package called "spice" in the distribution or powertools
and didn't see one).