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

See the CrossGCC FAQ 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]

CROSSTOOL Mac as/ld versioning workaround


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The line

[ "$1" = -v ] && echo GNU assembler 2.19 || /usr/bin/as $*

in build.sh in the mac section (intended to provide wrappers for the as command to bypass versioning restrictions) should be updated to look for the --version string as (at least) glibc-2.10.1 performs it's as versioning check by using --version option. Updating the line to:

[ "$1" = -v ] || [ "$1" = --version ] && echo GNU assembler 2.19 || / usr/bin/as $*

should save the next guy some time without breaking anything.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.11 (Darwin)

iEYEARECAAYFAkoj/ZIACgkQ6Asodp/ZlYhSqgCgnspas+8C1tO9Cmq4rDufabvC
IisAoJJahkL5JNO81B5RBhBkrS76laO0
=BgbU
-----END PGP SIGNATURE-----

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