Mail Archives: djgpp/2000/04/17/05:31:42
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 -