Reputation: 5329
I want to compile a program for the xtensa lx106 architecture.
This architecture does not appear inside config.guess
or config.sub
. So doing ./configure --host xtensa
or similar produce an error.
How can I tell configure to use a toolchain (gcc, ld etc) that is installed on some arbitrary location on the filesystem?
Upvotes: 2
Views: 696
Reputation: 101041
Pass the CC
, LD
etc. variables on the configure
command line usually does it:
./configure CC=x86_64-xtensa-linux-gnu-gcc LD=...
Or whatever tool you want to use. See:
Upvotes: 4