[comp.os.minix] About #ifdef's everywhere & the need for ANSI prototypes

U5569462@ucsvc.unimelb.edu.au (DAVID CLUNIE) (07/17/89)

What one really needs, rather than #ifdef's everywhere, is an ANSI conformant
compiler that does prototypes to implement checking of function arguments.

In fact that is something Minix needs anyway. The problem is how to get it to
run in  a 64k segment. It will be at least 12 months before my portable ANSI
C compiler is running, and I am still dubious about the feasibility of porting
it to Minix. I keep trying to keep it partitioned such that it can be
overlayed and use virtual memory, but every time I hit a memory boundary I am
tempted to go linear ...

Someone else in the mean time might be able to hack an existing compiler to
do prototyping at least, if nothing else from the ANSI proposed standard. I
dare say the modifications to the existing compiler would be relatively
easy to do, if you happen to have the source to the compiler and the Amsterdam
Compiler Kit ... I can't afford it.

Regards ... David