[Bug ada/19489] gnat tools not buildable cross

laurent at guerby dot net gcc-bugzilla@gcc.gnu.org
Wed Feb 2 12:09:00 GMT 2005


------- Additional Comments From laurent at guerby dot net  2005-02-02 12:08 -------
Do I need to regenerate configure stuff after your patch (I don't know
how to do it):

...
make -C tools -f ../Makefile "CC=@cc_for_cross_gnattools@" "CFLAGS=-O2 -g -O2 
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common"
"LDFLAGS=" "ADAFLAGS=-gnatpg -gnata" "INCLUDES=-I. -I.. -I../..
-I/home/guerby/work/gcc/version-head/gcc/ada
-I/home/guerby/work/gcc/version-head/gcc/ada/../config
-I/home/guerby/work/gcc/version-head/gcc/ada/../../include
-I/home/guerby/work/gcc/version-head/gcc/ada/.."
"ADA_INCLUDES=-I/home/guerby/work/gcc/install/install-20050126T091837/lib/gcc/i686-pc-linux-gnu/4.0.0/adalib/../adainclude
-I/home/guerby/work/gcc/install/install-20050126T091837/lib/gcc/i686-pc-linux-gnu/4.0.0/adalib/
-I. -I/home/guerby/work/gcc/version-head/gcc/ada"
"libsubdir=/home/guerby/work/gcc/cross/install/lib/gcc/powerpc-rtems/4.0.0"
"exeext=" "fsrcdir=/home/guerby/work/gcc/version-head/gcc/ada"
"srcdir=/home/guerby/work/gcc/version-head/gcc/ada" "TOOLS_LIBS= ../../prefix.o
../../version.o link.o ../../../libiberty/libiberty.a  " "GNATMAKE=gnatmake"
"GNATLINK=gnatlink" "GNATBIND=gnatbind" \
  TOOLSCASE=cross INCLUDES="" gnatmake-re gnatlink-re
make[3]: Entering directory `/home/guerby/work/gcc/cross/build/gcc/ada/tools'
rm -f tools/*
rm -rf tools
mkdir -p tools
(cd tools; ln -s ../sdefault.adb .)
touch ../stamp-tools
/bin/sh: cc_for_cross_gnattools@: command not found
make[3]: *** [link.o] Error 127
make[3]: Leaving directory `/home/guerby/work/gcc/cross/build/gcc/ada/tools'
make[2]: *** [gnattools1-re] Error 2
make[2]: Leaving directory `/home/guerby/work/gcc/cross/build/gcc/ada'
make[1]: *** [gnattools-cross] Error 2
make[1]: Leaving directory `/home/guerby/work/gcc/cross/build/powerpc-rtems/libada'
make: *** [all-target-libada] Error 2

My build tree gcc/libada-mk is

# GCC's Makefile fragment for libada.
# libada needs some information from the GCC configure file at the moment,
# and this exists to transfer that information in as clean a way as possible.

exeext=
libdir=${exec_prefix}/lib
gcc_version=4.0.0
NOCOMMON_FLAG=-fno-common
WARN_CFLAGS=$(GCC_WARN_CFLAGS)
cc_set_by_configure=@cc_for_cross_gnattools@
gcc_tmake_file= $(srcdir)/config/rs6000/t-rs6000
$(srcdir)/config/rs6000/t-fprules $(srcdir)/config/rs6000/t-rtems
$(srcdir)/config/t-rtems $(srcdir)/config/rs6000/t-ppccomm
gcc_xmake_file= $(srcdir)/config/x-linux

# This really shouldn't be needed, but for now...
CC=gcc



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19489



More information about the Gcc-bugs mailing list