Pandora OSX Crosstool-ng compiled Pandora toolchain


Wally

I am a banana!
Joined
Jan 31, 2006
Messages
3,213
Age
37
Location
Melbourne, Australia
Okay,

Cloudef has been helping me quite a bit with getting an OSX toolchain configured and ready to go. It works with distcc (probably best you use this). Thanks Cloudef :)


After 2 days of brain wrangling I finally have something we can use

Available here dchrt-cross-compiler-(eglibc-binutils-2.22)-darwin-x86_64.zip

Instructions for use:
1. Extract the Zip File and launch DMG. - DMG is 5GB max in size and can be changed to suit or whatever but unless your OSX has been formatted with Case Sensitivity enabled you cannot use the files outside of the DMG.

2. Set PATH or use distcc on the Pandora. ( I would recommend distcc as this takes a lot of the targeting crap away)

3. whatever ;)

Just a warning, provided as is. Has successfully built a hello world application and am doing further testing at the moment.
 
Good point.

Just another thing about Cx11 in general for all toolchain version.

I tried to compile the toolkit magnum (C++11 and OpenGL graphics engine) for multi-platform development with the code::blocks pnd.

I got the following error:


'to_string' is not a member of 'std'

After some research, it seems that if _GLIBCXX_USE_C99 is not defined, you don't have access to "to_string()" in basic_string.h

During the configure processing in the toolchain creation (dchrt  0.2), you got

configure:17121: checking for fully enabled ISO C99 support
configure:17123: result: no

So it doesn't define _GLIBCXX_USE_C99

With the last version of the eglibc, _GLIBCXX_USE_C99 is correctly defined and this kind of error doesn't exist.
 
Last edited by a moderator:
Back
Top