Mail Archives: djgpp/2000/04/16/08:53:45
In-Reply-To: <Pine DOT SUN DOT 3 DOT 91 DOT 1000416131808 DOT 3948C-100000 AT is>
> The problem of infinite recursion in cpp invocation and the problem of
> finding the crt0.o file are two different problems.
Unfortunately, in my case I either seem to get one of these problems or
the other depending on which solution I try!
Without setting the GCC_EXEC_PREFIX or COMPILER_PATH variables, the
compiler does seem to use the correct built-in specs for
my cross-development configuration. However, using the -v option shows
that these seem to be applied recursively to invocations of CPP until DOS
memory is exhausted.
> In particular, neither GCC_EXEC_PREFIX nor COMPILER_PATH are relevant
> to where GCC looks for crt0.o.
According to the GCC documentation, the GCC_EXEC_PREFIX is used for
finding files such as 'crt0.o' during linking. Is this documentation out
of date?
> I suggest to reconfigure with prefix=c:/armtools/.. or /dev/c/armtools
I was hoping to avoid building the tools with an absolute path so that
they could be installed on different drives. I believe the DJGPP DOS
binaries are configured with relative paths but seem to work correctly
when invoked from another drive.
- Raw text -