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]

Wanted cygwin-hosted corss-compiler for StrongArm target


Hello all,

I'm a newbie to this topic, so I hope my questions won't be too stupid for 
the experts you are.

I really would like a tool chain which I could run under cygwin for my 
favorite StrongARM-based device. However, I could not succeed in building it.

Before starting, I wanted to determine what I should put into the "--target" 
option of "configure".

Therefore, I ran the "config.guess" script on my platform and it returned the 
following string :

	armv4l-unknown-linux-gnu

Therefore, I created a small shell script as follows :

-------------------- BEGINNING OF SCRIPT ---------------------
#!/bin/sh
target=armv4l-unknown-linux-gnu
cd build-binutils
../binutils-2.13.1/configure --target=$target
make all install
cd ../build-gcc
../gcc-3.3/configure --target=$target
make all install
-------------------- END OF SCRIPT -------------------------

All the "binutils" could be compiled successfully. However, while compiling 
"gcc", I ended with the following stuff :

--------------- BEGINNING OF LOG EXERPT ---------------
/bin/sh ../../gcc-3.3/gcc/move-if-change tmp-check.h tree-check.h
echo timestamp > s-check
rm -f print-rtl1.c
sed -e 's/config[.]h/hconfig.h/' ../../gcc-3.3/gcc/print-rtl.c > print-rtl1.c
gcc -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. 
-I../../gcc-3.3/gcc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config 
-I../../gcc-3.3/gcc/../include print-rtl1.c -o print-rtl1.o
gcc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genflags.exe \
 genflags.o rtl.o read-rtl.o bitmap.o ggc-none.o gensupport.o 
insn-conditions.o print-rtl1.o \
    errors.o ../libiberty/libiberty.a
./genflags.exe ../../gcc-3.3/gcc/config/arm/arm.md > tmp-flags.h
/bin/sh ../../gcc-3.3/gcc/move-if-change tmp-flags.h insn-flags.h
echo timestamp > s-flags
(cd intl && make all)
make[2]: Entering directory `/GCC/build-gcc/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/GCC/build-gcc/gcc/intl'
gcc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.3/gcc 
-I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config 
-I../../gcc-3.3/gcc/../include \
       -c ../../gcc-3.3/gcc/c-parse.c -o c-parse.o
In file included from ../../gcc-3.3/gcc/intl.h:34,
                 from c-parse.y:40:
libintl.h:1:26: intl/libintl.h: No such file or directory
/usr/share/bison/bison.simple: In function `yyparse':
/usr/share/bison/bison.simple:923: warning: label `yyoverflowlab' defined but 
not used
c-parse.y: In function `yyerror':
c-parse.y:2835: warning: implicit declaration of function `gettext'
c-parse.y:2835: warning: initialization makes pointer from integer without a 
cast
make[1]: *** [c-parse.o] Error 1
make[1]: Leaving directory `/GCC/build-gcc/gcc'
make: *** [all-gcc] Error 2
--------------- END OF LOG EXERPT ----------------

What did I do wrong please ?

Many thanks in advance for any advise. Have a nice day. Chris


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


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