Date: Wed, 10 Jan 2001 09:41:05 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Les Newell cc: djgpp AT delorie DOT com Subject: Re: DJGPP cross compiler In-Reply-To: <002d01c07a7c$a59c6f40$f7a2403e@gw> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 9 Jan 2001, Les Newell wrote: > If I try to run h8300-hms-gcc on a simple program containing a for loop I > get the following: > Load error: no DOS memory > cpp.exe: Internal compiler error: program cpp got fatal signal 105 > cpp.exe: Internal compiler error: program cpp got fatal signal 1 [snip] > Using builtin specs. > gcc version 2.95.2 19991024 (release) > cpp -lang-c -v -D__GNUC__=3D2 -D__GNUC_MINOR__=3D95 = > -D__LONG_MAX__=3D2147483647L -D__LONG_LONG_MAX__=3D2147483647L = > -D__LONG_MAX__=3D2147483647L -D__LONG_LONG_MAX__=3D2147483647L = > -D__CHAR_UNSIGNED__ -D__H8300__ -D__SIZE_TYPE__=3Dunsigned int = > -D__PTRDIFF_TYPE__=3Dint -Acpu(h8300) -Amachine(h8300) = > -D__INT_MAX__=3D32767 hello.c C:\WINDOWS\TEMP\ccAVfKws.i > Using builtin specs. > gcc version 2.95.2 19991024 (release) > cpp -lang-c -v -Acpu(h8300) -Amachine(h8300) = > -D__LONG_MAX__=3D2147483647L -D__LONG_LONG_MAX__=3D2147483647L = > -D__LONG_MAX__=3D2147483647L -D__LONG_LONG_MAX__=3D2147483647L = > -D__CHAR_UNSIGNED__ -D__H8300__ -D__SIZE_TYPE__=3Dunsigned int = > -D__PTRDIFF_TYPE__=3Dint -Acpu(h8300) -Amachine(h8300) = > -D__INT_MAX__=3D32767 -D__GNUC__=3D2 -D__GNUC_MINOR__=3D95 = > -D__LONG_MAX__=3D2147483647L -D__LONG_LONG_MAX__=3D2147483647L = > -D__LONG_MAX__=3D2147483647L -D__LONG_LONG_MAX__=3D2147483647L = > -D__CHAR_UNSIGNED__ -D__H8300__ -D__SIZE_TYPE__=3Dunsigned int = > -D__PTRDIFF_TYPE__=3Dint -D__INT_MAX__=3D32767 hello.c -o = > C:\WINDOWS\TEMP\ccAVfKws.i It looks like you have an infinite loop of cpp invocation. I think this is a result of invoking the wrong cpp. Search the mail archives of this group at http://www.delorie.com/djgpp/mail-archives/, and I think you will find a few messages with similar problems and ways to solve them (unfortunately, I don't remember the details).