Rockbox

Tasklist

FS#11643 - rockboxdev.sh OSX 10.6 eabi fix

Attached to Project: Rockbox
Opened by Dominik Riebeling (bluebrother) - Sunday, 26 September 2010, 10:29 GMT
Last edited by Dominik Riebeling (bluebrother) - Monday, 27 September 2010, 20:42 GMT
Task Type Patches
Category Build environment
Status Closed
Assigned To Dominik Riebeling (bluebrother)
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The attached patch adjusts rockboxdev.sh to make it compile the eabi toolchain successfully on OS X 10.6 Snow Leopard.

- disable NLS support for binutils and gcc. It seems like some header files are missing required macros resulting in warnings that could become problematic (and break building without --disable-werror). It rises the question if NLS support for the cross compilers makes that much sense at all (given that all development discussion happens in english I don't see much point in having compiler messages translated)
- disable the use of -Werror for binutils. binutils uses stat64() which throws a deprecation warning (according to Availability.h and sys/stat.h this function was introduced with OS X 10.5 and is deprecated with 10.6)

Since I have MacPorts installed it would be great to get input from someone running a system without MacPorts to make sure there aren't side effects cause by that.

This change does not affect other toolchains (arm, m68k, sh1) which, according to my knowledge, don't build on 10.6.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Monday, 27 September 2010, 20:42 GMT
Reason for closing:  Accepted

Loading...