Xref: news2.mv.net comp.os.msdos.djgpp:5691 Newsgroups: comp.os.msdos.djgpp From: yokoi AT ipc DOT akita-u DOT ac DOT jp (Toshiaki YOKOI) Subject: Combination with f2c Sender: news AT tegata DOT akita-u DOT ac DOT jp (News system) Message-ID: Date: Fri, 5 Jul 1996 04:56:52 GMT Nntp-Posting-Host: quartet Organization: Akita Univ. Lines: 26 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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