Click to See Complete Forum and Search --> : Program Does not fit in the memory error generated by DOS Makefile


swalehk
October 29th, 2002, 11:48 PM
Hello Friend,

I am trying to run a makefile in DOS. It is a normal makefile that generates a executable after assembling, compiling and linking. It is giving a error while compiling the second file of source code after compiling the first file successfully saying "program too big to fit in the memory". I compiled the second file in the list individually and it compiled properly. Also I changed the second file by replacing it with some other file in the same folder but still it gives the same error.

In short it only compiles the first file and gives error for the second in that folder. The same error is also given by the assembler.

I am attaching the problematic makefile file with this mail.

Can you please help me out with this.

Thanks & Regards
Swaleh

galathaea
October 30th, 2002, 12:48 AM
You'll have to manage with 640k memory... Some extenders increase this, so it really depends on which DOS version you're using and what extenders if any you have installed. But I never think there is something weird with an out of memory notification on my old DOS machines unless I coded the code. If you can give some code sizes you are trying to compile, maybe we can tell you if your message is to be expected, but remember, compiling is always a memory intensive ordeal (you have to hold certain parsong structures until you can save some object files...etc...).

swalehk
October 30th, 2002, 02:45 AM
Hi galathaea,

The size of the files I am trying to compile are between 10K to 12K and the total size of the entire folder containing the source code is 27.4 MB.

Also the machine on which we are trying to run the make file is windows NT workstation 4.0 with DOS version is 6.2

Please let me know if you have any idea on this.

rgds
Swaleh