Mail Archives: djgpp/1996/07/05/19:16:19
Hi!
I usually work with Fortran. I would like to use djgpp with f2c as a free
fortran compiler, since powerful Fortran compiler softares are expensive.
I have gotten the package ez-gcc which contains the minimum necessaries
of gcc ver.2.6.?.. I can compile, link annd execute a small C source code.
Then, I tried to apply djgpp to f2c'd Fortran source code.
I got f2c95201.zip and used f2c.h and libf2c.a. But gcc complained that
there are some undefined function such as do_lio.... in the f2c'd source
code. These complained functions are found in the C source codes in libf77
and libi77 directories.I also tried to compile and "ar" libf77 and libi77
to make libf2c.a on DOS by gcc -c ...... But, compile process stopped by
some errors.
so,
What is the easiest way to let the djgpp work well with f2c'd source code?
Any suggestion will be appreciated.
Thank you.
T. Yokoi
Mining College, Akita University
http://dips11.akita-u.ac.jp/index.html
yokoi AT ipc DOT akita-u DOT ac DOT jp
- Raw text -