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: cross-compile of gcj


SELMA GÜZEL wrote:

Hi, Thanks for your reply. But couldn't you answer a few of my questions?Really,they are too easy for you:)


Sure, just state the question.



Only,could you say how must I set the paths below:
gcc-3.4.4-glibc-2.2.5.dat file's content:
BINUTILS_DIR=/home/selma/BU_SRC_DIR ;this is where I extracted the bin files,
GCC_DIR=/home/selma/GCC_SRC_DIR ;this is where I extracted gcc_java-3.4.4.tar.bzr in gcc directory from gcc.gnu.org GLIBC_DIR=glibc-2.2.5 ;I don' know how must I set this LINUX_DIR=linux-2.6.8 ;I use Kubuntu and set this /,I am not sure,is ti true? GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5 ;I don' know how must I set this EXTRA_TARGET_CFLAGS="-fno-unit-at-a-time" ;I don' know how must I set this


arm9tdmi.dat file's content:
KERNELCONFIG=`pwd`/arm.config
TARGET=arm-9tdmi-linux-gnu
GCC_EXTRA_CONFIG="--with-cpu=arm9tdmi --enable-cxx-flags=-mcpu=arm9tdmi"
TARGET_CFLAGS="-O"

I didn't change this file and also all.sh.

Then run the commands below:
$ export TARBALLS_DIR=~/crosstool-download
$ export RESULT_TOP=/opt/crosstool
$ export GCC_LANGUAGES="c,c++,Java"
$ eval `cat arm9tdmi.dat gcc-3.4.4-glibc-2.2.5.dat' sh all.sh        (  --notest ;I didn't use this because of I got error.)

And in fact,when I run gcc --version command from kubuntu's konsole it gives 4.2.3.Then I downloaded gcc-3.4.4 and I set the paths according to this above.

Please,please help!


GCJ on arm is not supported on GCC versions before 4.3


David Daney

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