crosstool-0.32 on MacOSX is good (was: problems getting crosstool-0.28-r35 working on mac os x)
Allan Clark
allanc@chickenandporn.com
Tue May 3 08:09:00 GMT 2005
Secret sauce at the end :)
Dan Kegel wrote:
> Hey, thanks for the tip. I'll take care of it
> for crosstool-0.32 (and if I don't, ping me again!)
> Maybe this is a fix for Allan Clark's issue, too.
> - Dan
>
> Dave Rensberger wrote:
>
>> Dan,
>>
>> For those of us cross-compiling on OS X, it looks like
>> "glibc-configure-apple-as.patch" needs to be moved forward to
>> glibc-2.3.4 as well.
>>
>> Not sure why Apple has decided to apply the "Think Different" mantra
>> to things like basic command line arguments!
>>
>> Thanks,
>> --Dave
>> --------------------------------------
>>
>> will (scope) wrote:
>>
>> the problem is during the install of the glibc headers it freezes in
>> the configure script and the only way to get out of it is control+c
>> ...
>>
>>
>> checking whether ld is GNU ld... no
>> checking for /usr/libexec/gcc/darwin/ppc/as...
>> /usr/libexec/gcc/darwin/ppc/as
>> checking version of /usr/libexec/gcc/darwin/ppc/as... <PAUSES HERE
>> AND JUST SITS THERE DOING NOTHING>
>>
>>
>> do you know a way to fix this?
>
I have the following working:
crosstool-0.32 -- demo-armv5b-softfloat.sh
OSX 10.3.9
sed-4.1.4
gawk-3.1.4
coreutils-5.2.1
gcc PR16201
http://sources.redhat.com/ml/crossgcc/2004-12/msg00075.html (stddef.h)
NOTE: nothing fink'd into place, I think I'm quite "prsitine" and
virginal as a platform goes.. perhaps I would have a solution faster had
I finked a bit. My bad.
I have installed sed, gawk, and install (and NO OTHER part of coreutils)
into /opt/local/bin/ ... originally I had "./configure --prefix=~/.gnu"
but then copied them into place. They worked fine after copying.
I have three patches appled (2 for glibc, 1 for gcc-3.4.1) simply by
dropping them into the patches subdir.
The resulting toolchain can build a simple program, but I have not yet
built a kernel with it, as I am waiting for an updated patch. Chinese
Labour week, firewalls, and inertia might delay me actually *really*
testing this for a week.
The necessary patches are summarized in the following:
http://chickenandporn.com/r/macosx-0.32-3.4.1-2.3.3-supplement.tar.bz2
(3.5k)
My binaries used during build are also available:
http://chickenandporn.com/r/macosx-0.32-3.4.1-2.3.3-tools.tar.bz2 (193k)
FYI
Dan, can these patches be preserved in 0.33? Are they damaging to the
rest of the builds?
Also, is this real softfloat, or is this just a lack of softfloat bugs,
and Dimitry's patches need to be checked?
Shoot, I *still* have a response from him to verify...
Allan
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list