www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/27/19:53:37

Date: Sun, 27 Nov 94 15:35:09 CST
From: thompson AT sun1 DOT coe DOT ttu DOT edu (Dave Thompson (3/1/93))
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: help with compiling f2c using djgpp
Cc: thompson AT sun1 DOT coe DOT ttu DOT edu

greetings mailing list!  although i'm not currently subscribed (so please
respond privately) i need help with a problem compiling a software for use
with djgpp, namely f2c (from netlib.att.com).  f2c is a fortran to c 
compiler and i have a lot of fortran codes i use.  i'm hoping to be able
to use f2c and djgpp on my personal system to access 32-bit programming
in both languages.

anyway, my problem is (i think) with the libraries used by f2c.  it has
two runtime libraries used to support the fortran conversion.  i have
succesfully compiled the f2c converter, but when i attempt to compile a
converted fortran program using gcc, everything works except the compiled
program.  for instance, when i wrote the simplest fortran program

	program test
	write (6,100)
  100	format(1x,'hello!')
	stop
	end

i get c source (which djgpp digests), but the program will not execute and 
terminates with a segmentation fault.  i'm facing several problems --
i'm new to djgpp, i'm not a *real* c programmer, and i'm really only an
old civil engineer (three strikes! ;-).  however, i'm determined and have
been using computers an awfully long time.  has anyone installed this 
software using djgpp, if so, can you assist me with gettiing the f2c system
up and running?  feel free to respond to my address in the sig below.
thanks in advance.  (remember i'm not currently a member of the mailing
list!)

-=d

=======================================================================
David B. Thompson               internet: thompson AT sun1 DOT coe DOT ttu DOT edu 
Civil Engineering Dept.         internet: dthompson AT coe2 DOT coe DOT ttu DOT edu
Texas Tech University           internet: wqdbt AT ttacs1 DOT ttu DOT edu 
P.O. Box 41023                  voice: (806) 742-3485 -- fax: 742-3449
Lubbock, Texas 79409-1023       "Get a haircut and get a *real* job."
=======================================================================

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019