https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91647
--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #4) > (In reply to Martin Sebor from comment #3) > > I get the following error when running a cross-compiler for > > x86_64-apple-darwin: > > > > xgcc: error: unrecognized command-line option > > '-asm_macosx_version_min=10.5'; did you mean '-asm_macosx_version_min='? > > > > Is there a different target I should try or something else I can do to > > configure it to get around it? > > what was the configuration line? > you can't expect to build more than cc1/cc1plus, unless you go through the > process of build a Mach-O 'binptils' - which would be unnecessary here. > > .. (if there's a problem - I can try something on gcc122 later) ../src/configure --prefix=/home/iains/gcc-trunk/darwin --target=x86_64-apple-darwin10 >conf.txt make -j16 all-host >b.txt 2>e.txt built working cc1 & cc1plus for me on gcc122.