🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52263

f2c code - T doesn't work in format statements

#52263
From: Dr. David Curtis
Date: Mon, 07 Dec 1992 13:47
22 lines
1781 bytes
I have some code translated by f2c. It compiled OK (after some hacking
about) with the Zortech PC compiler and Sun compiler. However I compiled
it with gcc (djgpp) and it doesn't deal correctly with fortran format
statements containing T (meaning tab to a certain position in the input
line). I tried TL (tab left a certain number of characters) and that
doesn't work either. I get the same problem using the LIBI77 and LIBF77
libraries I compiled myself, or using the ones available from the Simtel
f2c provided as a "contribution" to djgpp.

Surely someone else has come across this problem using f2c and gcc
together? I couldn't find any mention of it, and trying to debug with
debug32 is a nightmare (no offence) because of the weird code that f2c
produces. Any ideas? What gcc compiler flags should I use to compile
f2c-produced code? Please help!


Dave Curtis

Academic Department of Psychiatry,    Janet:       dcurtis@UK.AC.CRC
St. Mary's Hospital,                  Elsewhere:   dcurtis@CRC.AC.UK
Praed Street, London W2.              EARN/Bitnet: dcurtis%CRC@UKACRL
Tel 071-725 1993                      Usenet: ...!mcsun!ukc!mrccrc!D.Curtis
Technical Details
Message-ID: <1992Dec7.134725.3974@crc.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!agate!doc.ic.ac.uk!mrccrc!dcurtis

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7500b092ea875574,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-12-07 06:34:49 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!agate!doc.ic.ac.uk!mrccrc!dcurtis
From: dcurtis@crc.ac.uk (Dr. David Curtis)
Subject: f2c code  - T doesn't work in format statements
Message-ID: <1992Dec7.134725.3974@crc.ac.uk>
Sender: news@crc.ac.uk
Nntp-Posting-Host: tin
Organization: MRC Human Genome Resource Centre
Date: Mon, 7 Dec 1992 13:47:25 GMT
Lines: 24