Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: compiling all c code Date: Mon, 21 Jan 2019 14:23:02 -0800 Organization: None to speak of Lines: 34 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="4254908cc83318b30ef878a3a2b29bac"; logging-data="7449"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HPBZN9TfVyh0P+6XKWS9K" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:Vchag9FjeifhLKLia9pzpd7jpL0= sha1:Gg7ZuQtaFPC+dYOih0DLOr9lRJE= Xref: csiph.com comp.lang.c:140073 fiziqs@gmail.com writes: > On Monday, January 21, 2019 at 1:45:03 AM UTC+1, Geoff wrote: >> On Sun, 20 Jan 2019 14:51:00 -0800 (PST), fiziqs@gmail.com wrote: >> >> >Dear All, >> > >> >I tried to compile a bit of code from the original Unix source and >> >ran into the following problem: >> >> Can you post a link to this original Unix source so we can see what >> vintage code you are talking about? Unix source is very ancient and >> most C compilers probably can't compile it without special switches >> to get them to conform to the dialect of C used at that time or else >> extensive modification of those sources. > > Actually, it was the EFL language, just to know if it is still > possible to compile this language: > https://minnie.tuhs.org/cgi-bin/utree.pl?file=4.4BSD/usr/src/old/efl According to the man page (efl.1), EFL is "Extended Fortran Language". The linked sources files appear to be the C implementation of the efl command, a translator for EFL to Fortran. EFL seems to be based on Ratfor, but with C-like data structures in addition to Ratfor's control flow constructs. A Ratfor preprocessor (translating Ratfor to Fortan 77) is still available, for example via the "ratfor" package on Ubuntu. > And sorry, I made a typo in the topic title, I meant "old C code", not "all". -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */