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]

Re: AW: Crosstools on Mac OS X 10.4.4 for ppc


So,
here is a snapshot of my two scripts. They first fetches crosstools and some command line tools from Darwinports (which must be installed before). Then, they create the as/ld wrapper.


Attachment: build.sh
Description: Binary data

Attachment: Makefile
Description: Binary data


I succeeded in building the gcc-4.0.1 libc-2.3.5 for ARM. But the 2.95.3 failed.


Nikolaus


Am 27.02.2006 um 11:01 schrieb Stefan Pantos:


that would be wonderful thank you for the help. Could you also send me which gcc and libs you built.

Thanks,
Stefan


On 27 Feb 2006, at 09:45, hns@handheld-linux.com wrote:


I have had the same issue with crosstools-0.38 and solved it by making my
private /bin directory and prefix $PATH with it before launching
crosstools.


The bin directory has shell scrpits called as and ld and they check for
being called as as -v etc. Then, they echo a fake version number.
Otherwise they call the Apple original. So, crosstools and gcc only see
apparently sane gcc version numbers.


I can send you that code tonight.

Nikolaus

 --- Ursprüngliche Nachricht ---
Datum: 27.02.2006 10:29
Von: Stefan Pantos <d922qg@mac.com>
An: crossgcc@sourceware.org
Betreff: Crosstools on Mac OS X 10.4.4 for ppc

Has anyone succeeded in running crosstools 0.40 on OS X for a ppc
compiler? I've tried a number of the different scripts and I either
get a failed compilation for a generated C program in gprof or 'ld'
and 'as' are old versions for the "glibc-2.3.3". ld comes up as
version ?.? and 'as' as 1.38 during the configuration .

I believe I'm up to date with all the apple xcode updates.

'as -v' is:
Apple Computer, Inc. version cctools-590.18.obj~10, GNU assembler
version 1.38

'ld -v' is(explaining the version' :
Apple Computer, Inc. version cctools-590.18.obj~10

Is there another way to do what I want to do? I just want to be able
to build ELF format PPC executables. As far as I can tell I cannot do
that with the tools which come with xcode which compile to mach-o but
is there something I'm missing or a script I can get?


Any help would be much appreciated.

Thanks,
Stefan


-- For unsubscribe information see http://sourceware.org/lists.html#faq






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