Date: Mon, 17 Apr 2000 11:07:52 +0200 (WET) From: Andris Pavenis To: Ultan Henry cc: djgpp AT delorie DOT com Subject: Re: Environment variables In-Reply-To: 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 Sun, 16 Apr 2000, Ultan Henry wrote: > I've built an arm-elf cross-compiler built and hosted on DJGPP. The tools > are installed in 'C:\armtools' and work correctly when run from other > directories on the C drive. > > Without setting GCC_EXEC_PREFIX as shown, the compiler uses its built-in > specs and the CPP seems to be called recursively with a ever increasing > (and repeated) list of options. Again, this only happens when calling the > compilers from a drive other than the C drive on which they are installed > which I assume is due to the use of relative paths It seems You have installed cpp.exe in %DJDIR%/bin. Try moving it out of the way (or renaming) > > Is there a way to allow the 'crt0.o' file to be found correctly, or > perhaps this is due to a mistake in the configuration used to build the > compilers (shown below)? > > Any help would be appreciated! > > Compiler configuration: > > configure --verbose \ > --disable-nls \ > --with-gnu-as \ > --with-gnu-ld \ > --target=arm-elf \ > --disable-shared \ > --host=i386-pc-msdosdjgpp \ > --with-cpu=strongarm \ > --with-newlib \ > --with-local-prefix=/armtools/arm-elf \ > --with-gxx-include-dir=/armtools/lang/cxx \ > --prefix=/armtools >