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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: to Simon Wright, re Mac OS X builds Date: Fri, 07 Oct 2016 08:26:46 +0100 Organization: A noiseless patient Spider Message-ID: References: <4a4cee95-52e4-42c6-b4bb-a8146744bafd@googlegroups.com> <9f2f108e-9f8d-4ba2-86ad-ca5baae7c771@googlegroups.com> <7d6e52e2-af45-4a9b-904f-be2504e3eb02@googlegroups.com> <00a5b373-109d-469f-a20c-ac1352313bb6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="97b731c393a3b6adeaffb0d6e8195bfd"; logging-data="4440"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YMVwHQDykYi2O3g8lNOFxtUaZAwJPrLc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cancel-Lock: sha1:ESgPGao49bAAPhyik8Zylyn2Rd8= sha1:hY9FMYUBFeUESy30EsHLN6Fg/Y8= Xref: news.eternal-september.org comp.lang.ada:32028 Date: 2016-10-07T08:26:46+01:00 List-Id: Lucretia writes: > Just so people know what I did and it's archived forever: > > # Install the command line tools > $ xcode-select --install > > $ ../../source/gcc-6.2.0/configure --prefix=/opt/gcc-6.2.0 > --without-libiconv-prefix --disable-libmudflap --disable-libstdcxx-pch > --disable-libsanitizer --disable-libcc1 --disable-libcilkrts > --disable-multilib --disable-nls > --enable-languages=c,c++,ada,fortran,objc,obj-c++ > --host=x86_64-apple-darwin15 --build=x86_64-apple-darwin15 > --target=x86_64-apple-darwin15 > --with-boot-ldflags='-Wl,-headerpad_max_install_names -shared-libgcc' > --disable-libstdcxx 2>&1|tee log.config.txt > > $ make -j4 2>&1 |tee log.make.txt Thank you. Does --disable-libstdcxx stop building libstdc++*.dylib? For info, that list of targets is longer than most of us would need! I included Fortran because I was developing my gnat-math-extn project on Sourceforge, and Objective C[++] on request. Also, the configure flag --with-boot-ldflags supports relocation of the built binary, and (together with the patch gcc-6.1.0.diff), suppresses GCC PR 61027.