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]

AW: Crosstools on Mac OS X 10.4.4 for ppc


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]