From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.50.142.39 with SMTP id rt7mr17015748igb.9.1450729529585; Mon, 21 Dec 2015 12:25:29 -0800 (PST) X-Received: by 10.182.44.169 with SMTP id f9mr175627obm.16.1450729529552; Mon, 21 Dec 2015 12:25:29 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!mv3no19244584igc.0!news-out.google.com!l1ni10410igd.0!nntp.google.com!mv3no14193432igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 21 Dec 2015 12:25:29 -0800 (PST) In-Reply-To: <0403159a-d186-48d2-bb2c-9021e10a41b9@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.211.64.99; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 90.211.64.99 References: <02cc927d-a578-4e06-9706-efeb1db99e40@googlegroups.com> <7bac83ed-0d6f-4d2d-9e9a-0cd659d1d80a@googlegroups.com> <2ea4e650-2499-4fcf-bb0c-6b651ad5dd6e@googlegroups.com> <0403159a-d186-48d2-bb2c-9021e10a41b9@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: =?ISO-8859-1?B?UmU6IEFkYSBvbiBpT1MgP6BPciBTd2lmdC4uLg==?= From: Lucretia Injection-Date: Mon, 21 Dec 2015 20:25:29 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:28852 Date: 2015-12-21T12:25:29-08:00 List-Id: Ok, I hit the same problem I had building a cross compiler on Linux for mac= osx (I have the mac fs mounted using nfs, btw). I downloaded the prebuilt g= cc-4.9.1 for yosemite that was posted recently and installed that in my PAT= H. mkdir gcc build-binutils build-gcc build-gmp build-mpfr build-mpc build-isl= build-cloog cd build-gmp ../gmp-5.1.2/configure --prefix=3D$HOME/opt/apple-gcc --disable-shared --en= able-cxx make -j4 make check make install cd ../build-mpfr/ ../mpfr-3.1.2/configure --prefix=3D$HOME/opt/apple-gcc --disable-shared --w= ith-gmp=3D$HOME/opt/apple-gcc make -j4 make check make install cd ../build-mpc/ ../mpc-1.0.2/configure --prefix=3D$HOME/opt/apple-gcc --disable-shared --wi= th-gmp=3D$HOME/opt/apple-gcc --with-mpfr=3D$HOME/opt/apple-gcc make -j4 make check make install cd ../build-isl/ ../isl-0.12.2/configure --prefix=3D$HOME/opt/apple-gcc --disable-shared --w= ith-gmp-prefix=3D$HOME/opt/apple-gcc make -j4 make install make check cd ../build-cloog ../cloog-0.18.1/configure --prefix=3D$HOME/opt/apple-gcc --disable-shared -= -with-gmp-prefix=3D$HOME/opt/apple-gcc --with-isl-prefix=3D$HOME/opt/apple-= gcc --with-bits=3Dgmp make -j4 make check make install cd ../build-binutils/ ../binutils-2.25/configure --prefix=3D$HOME/opt/apple-gcc --target=3Di686-a= pple-darwin10 --program-prefix=3Di686-apple-darwin10- --with-build-sysroot= =3D/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimul= ator4.3.sdk/ --disable-nls --disable-shared make -j4 make install export PATH=3D$HOME/opt/apple-gcc/bin:$PATH cd ../build-gcc/ ../gcc-4.9.2/configure --prefix=3D$HOME/opt/apple-gcc --target=3Di686-apple= -darwin10 --build=3Dx86_64-apple-darwin14 --host=3Dx86_64-apple-darwin14 --= program-prefix=3Di686-apple-darwin10- --with-build-sysroot=3D/Developer/Pla= tforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/ --en= able-languages=3Dc,c++,objc,obj-c++ --disable-nls --disable-shared --disabl= e-multilib --with-gcc --with-gnu-as --with-gnu-ld --with-ppl=3D$HOME/opt/ap= ple-gcc --disable-isl-version-check --disable-ppl-version-check --with-gmp= =3D$HOME/opt/apple-gcc --with-mpfr=3D$HOME/opt/apple-gcc --with-mpc=3D$HOME= /opt/apple-gcc --with-isl=3D$HOME/opt/apple-gcc make -j4 Checking multilib configuration for libgcc... mkdir i686-apple-darwin10 mkdir i686-apple-darwin10/libgcc Configuring in i686-apple-darwin10/libgcc configure: creating cache ./config.cache checking build system type... x86_64-apple-darwin14 checking host system type... i686-apple-darwin10 checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... awk checking for i686-apple-darwin10-ar... /Users/laguest/opt/apple-gcc/i686-ap= ple-darwin10/bin/ar checking for i686-apple-darwin10-lipo... i686-apple-darwin10-lipo checking for i686-apple-darwin10-nm... /Users/laguest/src/gcc/build-gcc/./g= cc/nm checking for i686-apple-darwin10-ranlib... /Users/laguest/opt/apple-gcc/i68= 6-apple-darwin10/bin/ranlib checking for i686-apple-darwin10-strip... /Users/laguest/opt/apple-gcc/i686= -apple-darwin10/bin/strip checking whether ln -s works... yes checking for i686-apple-darwin10-gcc... /Users/laguest/src/gcc/build-gcc/./= gcc/xgcc -B/Users/laguest/src/gcc/build-gcc/./gcc/ -B/Users/laguest/opt/app= le-gcc/i686-apple-darwin10/bin/ -B/Users/laguest/opt/apple-gcc/i686-apple-d= arwin10/lib/ -isystem /Users/laguest/opt/apple-gcc/i686-apple-darwin10/incl= ude -isystem /Users/laguest/opt/apple-gcc/i686-apple-darwin10/sys-include -= -sysroot=3D/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPh= oneSimulator4.3.sdk/ =20 checking for suffix of object files... configure: error: in `/Users/laguest= /src/gcc/build-gcc/i686-apple-darwin10/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 make: *** [all] Error 2 The config.log doesn't really show much: configure:3373: $? =3D 1 configure:3362: /Users/laguest/src/gcc/build-gcc/./gcc/xgcc -B/Users/lagues= t/src/gcc/build-gcc/./gcc/ -B/Users/laguest/opt/apple-gcc/i686-apple-darwin= 10/bin/ -B/Users/laguest/opt/apple- gcc/i686-apple-darwin10/lib/ -isystem /Users/laguest/opt/apple-gcc/i686-app= le-darwin10/include -isystem /Users/laguest/opt/apple-gcc/i686-apple-darwin= 10/sys-include --sysroot=3D/Developer /Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/ = -qversion >&5 xgcc: error: unrecognized command line option '-qversion' xgcc: fatal error: no input files compilation terminated. configure:3373: $? =3D 1 configure:3389: /Users/laguest/src/gcc/build-gcc/./gcc/xgcc -B/Users/lagues= t/src/gcc/build-gcc/./gcc/ -B/Users/laguest/opt/apple-gcc/i686-apple-darwin= 10/bin/ -B/Users/laguest/opt/apple- gcc/i686-apple-darwin10/lib/ -isystem /Users/laguest/opt/apple-gcc/i686-app= le-darwin10/include -isystem /Users/laguest/opt/apple-gcc/i686-apple-darwin= 10/sys-include --sysroot=3D/Developer /Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/ = -o conftest -g -O2 conftest.c >&5 Assembler messages: Fatal error: invalid listing option `r' configure:3392: $? =3D 1 configure:3580: checking for suffix of object files configure:3602: /Users/laguest/src/gcc/build-gcc/./gcc/xgcc -B/Users/lagues= t/src/gcc/build-gcc/./gcc/ -B/Users/laguest/opt/apple-gcc/i686-apple-darwin= 10/bin/ -B/Users/laguest/opt/apple- gcc/i686-apple-darwin10/lib/ -isystem /Users/laguest/opt/apple-gcc/i686-app= le-darwin10/include -isystem /Users/laguest/opt/apple-gcc/i686-apple-darwin= 10/sys-include --sysroot=3D/Developer /Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/ = -c -g -O2 conftest.c >&5 Assembler messages: Fatal error: invalid listing option `r' configure:3606: $? =3D 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ |=20 | int | main () | { |=20 | ; | return 0; | } configure:3620: error: in `/Users/laguest/src/gcc/build-gcc/i686-apple-darw= in10/libgcc': configure:3623: error: cannot compute suffix of object files: cannot compil= e See `config.log' for more details. The above build was for building for the iPhoneSimulator. I've no idea how to get past this. Luke.