This is the mail archive of the crossgcc@sources.redhat.com 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] |
Hello, I am trying to set up a tool chain to be able to cross compile for my Zaurus pda from my Alpha linux workstation. Building gcc-2.95.3 (with arm patches) and binutils-2.14 went smooth (see below for configure options used). I compiled several small programs and tryied them on the target without problems. But: When trying to compile qt-embedded for the platform (needed for any serious gui work) I get an assembler error: andrew@scrat:/usr/local/src/arm/qt-2.3.5/src/moc$ arm-linux-g++ -c -I/usr/local/src/arm/qt-2.3.5/include -Wno-unused -Wno-parentheses -pipe -DQT_QWS_SL5XXX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -DQT_NO_CODECS -DQT_LITE_UNICODE -I../../include -I../tools -I. -o mocgen.o mocgen.cpp arm-linux-g++: Warning: -pipe ignored since -save-temps specified y.tab.c: In function `int yyparse()': y.tab.c:3126: warning: suggest parentheses around assignment used as truth value y.tab.c:3174: warning: label `yyerrlab' defined but not used y.tab.c:3169: warning: label `yynewerror' defined but not used moc.y: At top level: mocgen.cpp:3: warning: `char yysccsid[36]' defined but not used mocgen.s: Assembler messages: mocgen.s:59986: Error: value of 4294968294 too large for field of 4 bytes at 57236 mocgen.s:65548: Error: value of 4294968294 too large for field of 4 bytes at 65488 Indeed when looking at the assembler one can see lines like: .word yyss+4294968294 Somehow I beleive that this has something to do that this has to do with the 64bit nature of the Alpha. Looking through the web I only came up with 2 references to a similar problem: http://gcc.gnu.org/ml/gcc/1997-12/msg00884.html http://gcc.gnu.org/ml/gcc/1997-12/msg00908.html (But this has to be another bug, since the described code works fine for me) Any help welcome, thanks in advance, Andrew PS: I can provide the assembler, preprocessor output if someone is interrested. How I built the toolchain: I compiled binutils (2.14 using the -target=arm-linux for configure) without problems and I also got gcc-2.95.3 + arm patches to compile with the following options passed to ./configure (Since I already have the crossed glibc + headers, I can shortcut): #!/bin/sh # This file was generated automatically by configure. Do not edit. # This directory was configured as follows: ./configure \ --with-gcc-version-trigger=/home/andrew/arm/cross/gcc-2.95.3/gcc/version.c\ --host=alpha-linux --target=arm-linux --prefix=/usr/local/zaurus/tools\ --with-headers=/usr/local/zaurus/tools/arm-linux/include\ --with-libs=/usr/local/zaurus/tools/arm-linux/lib\ --enable-languages=c++,c,f77,objc --norecursion
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |