public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* getting  started
@ 2008-07-31  7:17 John Keays
       [not found] ` <e40293600807311514y14c14a67sdf2aaae0e70cb883@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: John Keays @ 2008-07-31  7:17 UTC (permalink / raw)
  To: gcc-help

To GNU Help line

I have had an old GNU F2c set up on my old computer and the machine died.

I still have some f2c.exe and a special f2c.dll that i linked to the fortran.

Now I have download cygwin and that seems to have a UNIX style window with
the old dollar sign prompt. But the normal f2c commands don't work.

Whats my next step.

Cheers

John Keays



-- 
John Keays,Keays Software PO Box 80, Toowong, Q 4066
9/621 Coronation Drive, Toowong, Qld 4066, Australia
Phone +61-7-3870-1711 fax +61-7-3870-1784
Web home page: www.keays.com.au

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: getting started
       [not found]   ` <13765.124.171.130.82.1217562681.squirrel@ensim.smartydns25.com>
@ 2008-08-01 14:45     ` Dima Sorkin
  0 siblings, 0 replies; 2+ messages in thread
From: Dima Sorkin @ 2008-08-01 14:45 UTC (permalink / raw)
  To: john; +Cc: gcc-help

> We ended up modifying some of the libraries and got the "C" code to work
> under Visual Studio 6.  We had special libraries for the GNU C and for the
> "C" component of the graphics libraries. All I want is the old fortran to
> work under Visual Studio and call the old graphics library.  The Fortran
> is pure F77.  I got a FTN95 compiler but its a totally new system with a
> long learning curve.

1) -- F2C --
The F2C (from http://www.netlib.org/f2c, both libf2c.a and the executable)
passes compilation on GCC 4.1.2 (that I have) without even one warning,
simply by typing "GNUmake -f makefile.u".
You can add -fPIC option and produce shared library.

2)  -- Your special libs --
If you can compile and use your "special" C code on GCC, then you can work
on any platform GCC is installed on. Otherwise you will be bound to
Visual Studio,
of which I have little knowledge. MinGW project should ensure interoperability
with libraries compiled on Visual Studio. DJGPP (http://www.delorie.com/djgpp/)
should too... Last time I compiled anything on Windows was in 2004, I had to :)

Regards,
  Dima.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-01 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-31  7:17 getting started John Keays
     [not found] ` <e40293600807311514y14c14a67sdf2aaae0e70cb883@mail.gmail.com>
     [not found]   ` <13765.124.171.130.82.1217562681.squirrel@ensim.smartydns25.com>
2008-08-01 14:45     ` Dima Sorkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).