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: [CT_NG] Cross-compiler for Alpha architecture


Yann E. MORIN wrote:
> Hello Ioannis!
> Hello all!
> 
> On Friday 13 June 2008 18:17:02 Ioannis E dot Venetis wrote:
>> Attached you can find a patch, which should be applied to the code that 
>> you will check-out from the trunk.
> 
> OK! Will apply tonight...
> 
>> It adds sub-menus to select the Alpha 
>> architecture and a specific model (EV4, EV5, EV56, etc. The list in the 
>> patch is not complete, however).
> 
> OK, I updated your patch to also set the ARCH_CPU and ARCH_TUNE accordingly,
> allowing user to overide the default values.
> 
>> I have tried quite a few combinations of binutils/gcc/glibc/kernel 
>> versions (all for an Alpha EV56 processor), but was able to create only 
>> 1 cross-compiler, for the following versions:
>> 1) binutils 2.17
>> 2) gcc 4.2.4
>> 3) glibc 2.3.6
>> 4) kernel 2.6.24.7
> 
> Hmmm... not that bad :-)
> 
>> Well, this is actually the best I can do with the original crosstool 
>> too, but it is a start :-) I would like to be able, however, to create a 
>> cross tool-chain with more recent versions.
> 
> Not doing worse than the others does not mean we shouldn't improve. ;-)
> 
>> Changing versions of the above tools gives different errors. For 
>> example, if I change only the kernel to version 2.6.25.x, the following 
>> error appears:
>> Installing C library
>> [ERROR]    ../sysdeps/unix/sysv/linux/alpha/sys/user.h:26:22: error: 
>> asm/page.h: No such file or directory
> 
> Seems to be the same as for ARM: asm/page.h is no longer exported by the
> kernel headers_install, because it does not belong to userspace anyway. Look
> at the patch/glibc/ports-2.6 there is already support for this problem, but
> for ARM. Adapting to Alpha should be quite easy.
> 

There is a patch for alpha proposed here on libc-alpha

http://sourceware.org/ml/libc-alpha/2008-06/msg00011.html

-Khem

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