[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to build a cross_compiler for alpha-ecoff?
From: |
lxf |
Subject: |
How to build a cross_compiler for alpha-ecoff? |
Date: |
Wed, 04 Aug 2004 16:10:01 +0800 |
Hi,
I cross-compiled an alpha gcc toolchain.Later ,I found the compiler
outputs binary in elf64-alpha format.But I want the binary in ecoff format. I
checked the
cross compiler, it seems it supports alpha-ecoff format too.But,when I try to
an alpha gcc toolchain for alpha-ecoff,there is some problems.
Below is the files I used to cross-compile the alpha gcc toolchain.
gcc-core-3.1.tar.gz
binutils-2.12.tar.gz
alpha-linux system files
cross-compiling an alpha-elf toolchain:
% cd $HOME/crossdev/src/binutils-2.12
% ./configure --prefix=$HOME/crossdev --target=alpha-linux-
% cd $HOME/crossdev/src/gcc-3.1
% ./configure --prefix=$HOME/crossdev --target=alpha-linux \
--with-libs=$HOME/crossdev/src/sysfiles/lib \
--with-headers=$HOME/crossdev/src/sysfiles/include
That's no problem.
cross-compiling an alpha-ecoff toolchain:
% cd $HOME/crossdev/src/binutils-2.12
% ./configure --prefix=$HOME/crossdev --target=alpha-linuxecoff
% cd $HOME/crossdev/src/gcc-3.1
% ./configure --prefix=$HOME/crossdev --target=alpha-linuxecoff
--with-libs=$HOME/crossdev/src/sysfiles/lib \
--with-headers=$HOME/crossdev/src/sysfiles/include
% make
But,then there is a problem that I can't solve. while compiling the file
libgcc2.c,it reported error.
How can I build an alpha-ecoff cross-compile toolchain?
or How can I get a recompiled alpha-ecoff cross-compile toolchain ?
Thanks!
lxf
lxf@pku.edu.cn
2004-08-04
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to build a cross_compiler for alpha-ecoff?,
lxf <=