This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: Building cross-compiler for Alpha-linux on i686-linux






On 04/11/2000 10:50:18 AM GMT Kai Ruottu wrote:
>
> No, this is the plain vanilla linking problem -- the 'alpha-linux-gnu'
>in
>the GCC sources is aimed to be native-only... Nobody has cared to make
>any
>things for a cross-compiler. So the toolkit really 'cannot make
>executables'.
>Please see the 'alpha-linux-gnu/libiberty/config.log' for the linking
>errors.

Why did I then successfully manage to make an i386->alpha crosscompiler?
It was egcs-1.1.2 back then I think, but it should still work.

Maybe another hint, I always had to set the path to the newly installed
cross-binutils in order to make a cross-compiler (If you did this and
I overlooked this, sorry)

So e.g. cd binutils; ./configure --prefix=/opt/cross && make && make
install
       cd gcc; ./configure --prefix=/opt/cross
        PATH=/opt/cross/bin:$PATH make cross
or similar.

regards,
chris




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


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