Summary: | Bootstrap of GCC trunk failed when configured with --host=... | ||
---|---|---|---|
Product: | gcc | Reporter: | Grigory Zagorodnev <grigory_zagorodnev> |
Component: | bootstrap | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | ||
Version: | 4.2.0 | ||
Target Milestone: | 4.2.0 | ||
Host: | Target: | ||
Build: | x86_64-redhat-linux | Known to work: | |
Known to fail: | Last reconfirmed: |
Description
Grigory Zagorodnev
2006-03-14 07:05:24 UTC
With recent version of 'configure', came in revision 112028, generated Makefile contains wrong tool names for the native build. $ grep x86_64-redhat-linux Makefile AS = x86_64-redhat-linux-as AR = x86_64-redhat-linux-ar CC = x86_64-redhat-linux-gcc CXX = x86_64-redhat-linux-c++ if the output of config.guess does not match your --host=... string you are building a cross compiler. Try making those match or also specify --build. It appears that configuration scheme changed in revision 112028 of trunk without any notice. [trunk revision 112027] Host type: --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [guessed] --target=TARGET configure for TARGET [TARGET=HOST] [trunk revision 112028] System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] Thus for my purpose I need --build instead of --host for the trunk. Fixed. |