[coldfire-gnu-discuss] coldfire-toolchain: "make dep" fails
Michel Marti
michel.marti at objectxp.com
Wed Apr 5 16:26:07 UTC 2006
Daniel Jacobowitz wrote:
>>In contrast, using the uclinux toolchain results in make using
>>"-I/usr/local/lib/gcc-lib/m68k-elf/2.95.3/include" which is a valid directory:
>
>
> I believe this was a bug in the kernel build system, since fixed. You
> might want to check how the makefile gets that path.
>
In my case, it get's it in arch/m68knommu/platform/527x/Rules.make:
GCC_DIR = $(shell $(CC) -v 2>&1 | grep specs | sed -e 's/.* \(.*\)specs/\1\./')
The question now is how to replace this with something that works for a gcc that returns
"Using built-in specs." when invoking it with "-v". Are there any other gcc-options that
will return the path to the gcc's include directory?
More information about the coldfire-gnu-discuss
mailing list