https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103677
Bug ID: 103677
Summary: cross compile apple darwin from linux. cannot compute
suffix of object files
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: unlvsur at live dot com
Target Milestone: ---
checking for x86_64-apple-darwin20.6.0-gcc...
/home/cqwrteur/myhome/gcc_build/cross/x86_64-apple-darwin20.6.0/gcc/./gcc/xgcc
-B/home/cqwrteur/myhome/gcc_build/cross/x86_64-apple-darwin20.6.0/gcc/./gcc/
-B/home/cqwrteur/cross/x86_64-apple-darwin20.6.0/x86_64-apple-darwin20.6.0/bin/
-B/home/cqwrteur/cross/x86_64-apple-darwin20.6.0/x86_64-apple-darwin20.6.0/lib/
-isystem
/home/cqwrteur/cross/x86_64-apple-darwin20.6.0/x86_64-apple-darwin20.6.0/include
-isystem
/home/cqwrteur/cross/x86_64-apple-darwin20.6.0/x86_64-apple-darwin20.6.0/sys-include
checking for suffix of object files... configure: error: in
`/home/cqwrteur/myhome/gcc_build/cross/x86_64-apple-darwin20.6.0/gcc/x86_64-apple-darwin20.6.0/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make[1]: *** [Makefile:15260: configure-target-libgcc] Error 1
make[1]: Leaving directory
'/home/cqwrteur/myhome/gcc_build/cross/x86_64-apple-darwin20.6.0/gcc'
make: *** [Makefile:991: all] Error 2