This is the mail archive of the crossgcc@sources.redhat.com 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]

Re: Building on MacOS X


On 3 Apr 2004, at 17:18, Dan Kegel wrote:

Kafus wrote:
Looking at crosstool-028rc1/crosstool.sh: Line 379
there is a 'cp -af' command to copy some floating point libraries. Unfortunately, the macosx version of cp doesn't have an archive option. And what is more there is no '--preserve==links' equivalent.
I can manufacture an equivalent using 'pax' if needed but I am wondering what the original intent was and if a simpler cp statement that avoids the '-a' would suffice.

I suspect the original intent was misguided, and the best thing to do might be to add --disable-multilib to the main gcc configure, and remove the cp -af stuff. You can safely comment out the cp -af stuff for now, I think. - Dan


--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change




I actually changed it to 'cp -rf' while I was waiting on Saturday and it built perfectly.


I have (darwin's ports collection) darwinports installed and using it I just installed gsed & gawk and added a path statement to make sure /opt/local/bin was looked in first. That trick avoids the usual pit falls on macosx. The thing just blitzed away and built a ppc405 toolchain. I am going to do a mips version as well.

This must have been the most pain-free build in a long time. I'll document the steps if anyone wants them.

Thanks for your help.

Ken


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]