home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mips!mips!munnari.oz.au!cs.mu.OZ.AU!baillie
- From: baillie@cs.mu.OZ.AU (Stephen Baillie)
- Subject: Re: Question about MS C/C++ Compiler 7.0
- Message-ID: <9223617.955@mulga.cs.mu.OZ.AU>
- Keywords: MS C/C++ Compiler 7.0
- Organization: Computer Science, University of Melbourne, Australia
- References: <Aug.16.15.33.14.1992.3727@remus.rutgers.edu>
- Distribution: inet
- Date: Sun, 23 Aug 1992 07:52:23 GMT
- Lines: 33
-
- castello@remus.rutgers.edu (Vicente Castello) writes:
-
- > I have had the opportunity of experimenting with the latest C
- >compiler from Microsoft. While running a few tutorials, I have
- >encountered a few problems. The problem that I get most often deals
- >with memory.
- > When I compile the single-module programs from the tutorial,
- >the program is compiled, linked, and executed successfully. However,
- >when I try to compile a multi-module program, I am always getting an
- >error that complains about the lack of far heap space. This error is
- >associated with a lack of memory.
- > If you have experienced this same problem with this compiler,
- >I would appreciate if you can offer solutions. The programs that I
- >am trying to run are small. I am not dealing with code of 25,000
- >lines.
- > I am running the Programmers Workbench straight from DOS.
- >Since I am not using Windows, I have installed 386MAX in order to run
- >my programs from DOS. Before I run PWB, I have 625K available in the
- >low-DOS area. The machine that I am using is a 386/20 with 4MB of RAM.
-
- We've had similar problems from time to time along these lines. The cause
- in our case was that we were using a make utility that grabbed a little
- too much memory. So if you're using a make function you could try doing
- the compiles "manually".
-
- If you're not using a make, just compiling multiple modules, you may need
- to compile the modules separately with the -c flag to produce just object
- modules, and then run the "link" program to put them all together.
-
- Hope this helps,
-
- Steve.
-
-