Mail Archives: djgpp/2000/04/17/05:31:42

Date: Mon, 17 Apr 2000 11:07:52 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Ultan Henry <ultan AT cix DOT compulink DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Environment variables
In-Reply-To: <>
Message-ID: <>
MIME-Version: 1.0
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

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

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019