Date: Mon, 8 Dec 1997 18:10:29 -0800 (PST) Message-Id: <199712090210.SAA12028@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: radon AT swipnet DOT se, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Linker, ERROR! Precedence: bulk At 09:27 12/7/1997 GMT, Radon / Phrome wrote: >Oops I forgot, I have another question: >I have written a small program using __djgpp_nearptr_enable(); >When I compile like this: >gcc test.c >A proper A.EXE is generated and when I run it, it executes perfectly. >But when I use this method (or compile from RHIDE): >gcc -o test.exe test.c >there is an errormessage from the compiler saying: protection fault. >The error is caused by LD.EXE. Interesting. Please post the complete source code which reproduces this error, and exactly what command line you use to compile it. Compile with `-v' if possible since this will print version numbers and such. >Also when I just type ld.exe and pushes enter, a similar error occurs. `ld' expects some arguments on the command line, but it shouldn't crash if they're missing. Consider reinstalling the binutils? Nate Eldredge eldredge AT ap DOT net