This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error trying to ./bootstrap crosstool-ng on Mac OS X 10.10.4



> On Aug 17, 2015, at 14:07, Peter Teeson <pteeson@icloud.com> wrote:
> 
> I am on a Mac Pro Desktop running OS X 10.10.4 Yosemite and Xcode 6.4.
> I would like to develop a toolchain for my Raspberry Pi 2.
> So in Xcode I checked out the crosstool-ng source from git.
> Then in Terminal cd’d to the checkout dir and did:
> 
> Gandalf:crosstool-ng pteeson$ ./bootstrap
> Running autoconf...
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4: unrecognized option `--gnu'


Apple tends to ship modified binaries based on older gnu as command line options.  You might get better luck with crosstool-ng running on the shell by itself with newer binaries for m4 and such earlier on the path.

Alternatively, see if you can edit bootstrap to pre-qualify m4 to disregard those that don't accept --gnu


> Try `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4 --help' for more information.
> autom4te: /usr/bin/m4 failed with exit status: 1
> Gandalf:crosstool-ng pteeson$
> Gandalf:crosstool-ng pteeson$ m4 --version
> GNU M4 1.4.6

Yes, but which m4 ?

Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4 --version


Allan
--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]