Mail Archives: djgpp/1998/05/03/11:34:57
On 2 May 1998, Al Wong wrote:
> 1) A large C program compiles and links successfully on a
> Pentium 133Mhz with 40MB of RAM. The same program also
> compiles but FAILS to link on a 486-33Mhz with 8 MB of RAM.
> I get a SIGSEGV error. Possible solutions and fixes suggested
> in the FAQ doesn't seem relevant to this problem. Does the current
> version of DJGPP require "better" hardware than a 486?
No, 486 is not the problem, most likely. It's the lack of memory that
probably causes the crash. Run go32-v2 with no arguments and post
what it prints. If the numbers it prints are small, the linker
doesn't have enough memory to run. See section 7.2 of the FAQ.
> 2) How does one disable the "Time in ..." messages that the
> compiler displays.
Did you use the -Q switch to GCC? If so, don't. If not, please post
the exact command line you use to compile and link the program; these
messages shouldn't be printed by default at all.
> 4) To get rid of all debugger information, is using the "-s" switch
> in the compilation all that is needed?
You need to use -s during LINKING, not compilation.
- Raw text -