From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21998 invoked by alias); 1 Aug 2008 14:45:40 -0000 Received: (qmail 21973 invoked by uid 22791); 1 Aug 2008 14:45:38 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0708.google.com (HELO rv-out-0708.google.com) (209.85.198.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Aug 2008 14:45:11 +0000 Received: by rv-out-0708.google.com with SMTP id c5so954426rvf.56 for ; Fri, 01 Aug 2008 07:45:09 -0700 (PDT) Received: by 10.141.75.17 with SMTP id c17mr5985891rvl.212.1217601909610; Fri, 01 Aug 2008 07:45:09 -0700 (PDT) Received: by 10.141.74.19 with HTTP; Fri, 1 Aug 2008 07:45:09 -0700 (PDT) Message-ID: Date: Fri, 01 Aug 2008 14:45:00 -0000 From: "Dima Sorkin" To: john@keays.com.au Subject: Re: getting started Cc: gcc-help@gcc.gnu.org In-Reply-To: <13765.124.171.130.82.1217562681.squirrel@ensim.smartydns25.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10635.124.171.130.82.1217479024.squirrel@ensim.smartydns25.com> <13765.124.171.130.82.1217562681.squirrel@ensim.smartydns25.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00001.txt.bz2 > 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.