[comp.sys.atari.st] C-compilers and Memory

jlong@afit-ab.arpa (Jeffrey K. Long) (05/04/89)

I have been trying in vain to compile some sizeable C code on my 1-Meg ST.
I have tried:  Laser-C (I have all three issues upto 2.0), Sozobon C and
GCC 1.34!  The problem is that 
1)Laser-C sucks when it comes to cross compatility with UNIX type C-code! i
have yet to get a program to run using Laser C that was originally written
for UNIX.  I take the same code, send it to JRD and it compiles using GCC
with no problems.  So use GCC you say?  problem is GCC loves memory and
can't handle the size programs I am working on.  I have tried several
different size stacks with GCC and still get an out of memory indication.
Sozobon compiles the code ok,  but the assembler can't handle the large 
  .s files generated.  One of the programs generated 210K of assembler code
upon hpc.ttp but the jas.ttp runs out of memory!!  ARRRGGG!!!!

Is there any way I can compile these programs on a 1 meg machine???
Is there another PD assembler which might be able to handle the assembler
code generated by Sozobon and still compile within 1 meg?
Why is it that the Laser-C compiler can compile and link the programs but
all of the other comilers (actually assemblers I suspect) can't do it with
only 1 Meg?    Any tricks, other programs which migh help me compile
without buying more RAM/a Mega-4 ??  Any comments, lessons learned, or
tricks of the trade used to compile large code with Sozobon would be
appreciated.  How do they compile Sozobon with itself,  with more than
1-meg of memory?        Thanks for wading through all of this!!

=========================================================================
|   Jeff Long              jlong@blackbird.afit.af.mil  (ARPA net)      |
|                                                                       |
|   humble (and getting humbler by the day) graduate student;           |
|   The Air Force Institute of Technology  (what a great way of life??) |
=========================================================================