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:

BTW, how did you manage to build gcc-4.2.4? Would it be possible for you to
share your patchset, if any?

Excellent question :-) I didn't realize this until you asked. I just used:


./tools/addToolVersion.sh --gcc 4.2.4
ct-ng menuconfig

selected gcc 4.2.4 and everything worked. No patches at all.

I managed to build the following toolchain (untested, as I don't have Alpha at
hand):

alphaev56-unknown-linux-gnu
  headers from linux-2.6.24.7
  binutils-2.17
  gcc-4.2.3
  glibc-2.3.6 with linuxthreads

Great! It is very close to what I managed to build. BTW, the patch that Kem proposed solves the missing asm/page.h problem, but not the missing asm/elf.h problem. I couldn't find anything in the archives about this, as suggested by Yann.


I am, however, pretty close to solve the problem with binutils 2.18 and using glibc>=2.5. From what I understand, I need 1 more patch to accomplish this. Hopefully I am right!

Ioannis


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