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


Thanks for your commentâ.
> On Aug 17, 2015, at 6:10 PM, Allan Clark <chickenandporn@gmail.com> wrote:
> Apple tends to ship modified binaries based on older gnu as command line options.  
Yep - run into that a few timesâ.
> 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
How do I do that?

Gandalf:~ pteeson$ cd /Volumes/Data/Development/MyProjects/crosstool-ng 
Gandalf:crosstool-ng pteeson$ cat bootstrap
#!/bin/sh
set -e

printf "Running autoconf...\n"
autoconf -Wall --force

printf "Done. You may now run:\n    ./configure\n"
Gandalf:crosstool-ng pteeson$ 

> Yes, but which m4 ?
Good question! Looks like they are both the same version

Gandalf:~ pteeson$ /usr/bin/m4 --version
GNU M4 1.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Rene' Seindal.
> Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4 âversion

Gandalf:~ pteeson$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4 --version 
GNU M4 1.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Rene' Seindal.

Peter


--
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]