[Fwd: (arm) cross compiler under Cygwin]

nhat.dao@philips.com nhat.dao@philips.com
Wed Mar 28 07:47:00 GMT 2001


hello, i am a newbie,

somebody can help me, please ?

make LANGUAGES= "c++ "

[...]
hashtab.c               ..linked
hashtab.o               ..linked
hex.c           ..linked
hex.o           ..linked
index.c         ..linked
[...]

>make[2]: Entering directory
`/gcc-2.95.2-6/arm-strongarm-aout/libiberty'
>make[2]: *** No targets specified and no makefile found.  Stop.
>make[2]: Leaving directory `/gcc-2.95.2-6/arm-strongarm-aout/libiberty'

>make[1]: *** [../libiberty/libiberty.a] Error 2
>make[1]: Leaving directory `/gcc-2.95.2-6/arm-strongarm-aout/libstdc++'

>make: *** [all-target-libstdc++] Error 2

After, i try this :
$ cd /gcc-2.95.2-6/arm-strongarm-aout/libiberty
$ ./configure --target=arm-strongarm-aout
loading cache ./config.cache
configure: error: can not find install-sh or install.sh in ./.. ././..

??????

thinx in advance for your answer
/pegase
nospam_nhat.dao@philips.com (remove nospam_ to reply)


> Hi Pegase,
>
> This is another case of missing headers. I think this fix qualifies as
>
> somewhat of a swag but it worked for me:
>
> # going with newlib for now
> # copy headers to include missing stdlib.h and unistd.h for libgcc2
> cp -r /usr/src/newlib-1.9.0/newlib/libc/include/*  \
>       /usr/local/arm-strongarm-aout/include
-------------- next part --------------
touch bigstmp-string
echo fcomplex
fcomplex
if [ x"no" = xyes ]; then \
  /gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-tem
plates -I. -I./stl -I../libio -I./../libio -nostdinc++   -DF \
    `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQC
F EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo
" -D${N}"; done` \
    ./cinst.cc -o pic/fcomplex.o; \
else true ; fi
/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-templ
ates -I. -I./stl -I../libio -I./../libio -nostdinc++  -DF `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC M
ULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH E
XP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}"; done` \
  ./cinst.cc -o fcomplex.o
echo fcomio
fcomio
if [ x"no" = xyes ]; then \
  /gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-tem
plates -I. -I./stl -I../libio -I./../libio -nostdinc++   -DF \
    `for N in EXTRACT INSERT; do echo " -D${N}"; done` \
    ./cinst.cc -o pic/fcomio.o; \
else true ; fi
/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-templ
ates -I. -I./stl -I../libio -I./../libio -nostdinc++  -DF `for N in EXTRACT INSERT; do echo " -D${N}"; done` \

  ./cinst.cc -o fcomio.o
echo dcomplex
dcomplex
if [ x"no" = xyes ]; then \
  /gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-tem
plates -I. -I./stl -I../libio -I./../libio -nostdinc++   -DD \
    `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQC
F EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo
" -D${N}"; done` \
    ./cinst.cc -o pic/dcomplex.o; \
else true ; fi
/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-templ
ates -I. -I./stl -I../libio -I./../libio -nostdinc++  -DD `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC M
ULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH E
XP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}"; done` \
  ./cinst.cc -o dcomplex.o
echo dcomio
dcomio
if [ x"no" = xyes ]; then \
  /gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-tem
plates -I. -I./stl -I../libio -I./../libio -nostdinc++   -DD \
    `for N in EXTRACT INSERT; do echo " -D${N}"; done` \
    ./cinst.cc -o pic/dcomio.o; \
else true ; fi
/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-templ
ates -I. -I./stl -I../libio -I./../libio -nostdinc++  -DD `for N in EXTRACT INSERT; do echo " -D${N}"; done` \

  ./cinst.cc -o dcomio.o
echo ldcomplex
ldcomplex
if [ x"no" = xyes ]; then \
  /gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-tem
plates -I. -I./stl -I../libio -I./../libio -nostdinc++   -DLD \
    `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQC
F EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo
" -D${N}"; done` \
    ./cinst.cc -o pic/ldcomplex.o; \
else true ; fi
/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-templ
ates -I. -I./stl -I../libio -I./../libio -nostdinc++  -DLD `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC
MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH
EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}"; done` \
  ./cinst.cc -o ldcomplex.o
echo ldcomio
ldcomio
if [ x"no" = xyes ]; then \
  /gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-tem
plates -I. -I./stl -I../libio -I./../libio -nostdinc++   -DLD \
    `for N in EXTRACT INSERT; do echo " -D${N}"; done` \
    ./cinst.cc -o pic/ldcomio.o; \
else true ; fi
/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-strongarm-aout/bin/ -c -g -O2 -fno-implicit-templ
ates -I. -I./stl -I../libio -I./../libio -nostdinc++  -DLD `for N in EXTRACT INSERT; do echo " -D${N}"; done`
\
  ./cinst.cc -o ldcomio.o
touch bigstmp-complx
cd ../libiberty ; make "SHELL=/bin/sh" "INSTALL=/bin/sh /gcc-2.95.2-6/install-sh -c" "INSTALL_DATA=/bin/sh /gc
c-2.95.2-6/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /gcc-2.95.2-6/install-sh -c " "prefix=/usr/local" "e
xec_prefix=/usr/local" "tooldir=/usr/local/arm-strongarm-aout" "gxx_include_dir=/usr/local/include/g++-3" "lib
subdir=/usr/local/lib/gcc-lib/arm-strongarm-aout/2.95.2-6" "gcc_version=2.95.2-6" "gcc_version_trigger=/gcc-2.
95.2-6/gcc/version.c" "AR=arm-strongarm-aout-ar" "AR_FLAGS=rc" "CC=/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/
 -B/usr/local/arm-strongarm-aout/bin/" "CXX=/gcc-2.95.2-6/gcc/xgcc -B/gcc-2.95.2-6/gcc/ -B/usr/local/arm-stron
garm-aout/bin/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=arm-strongarm-aout-nm" "RANLIB=arm-strongarm-aout-ranlib
" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/gcc-2.95.
2-6/texinfo/makeinfo/makeinfo " "SHLIB=libstdc++.so.2.10.0" "SHCURSES=" "RUNTESTFLAGS="
make[2]: Entering directory `/gcc-2.95.2-6/arm-strongarm-aout/libiberty'
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Leaving directory `/gcc-2.95.2-6/arm-strongarm-aout/libiberty'
make[1]: *** [../libiberty/libiberty.a] Error 2
make[1]: Leaving directory `/gcc-2.95.2-6/arm-strongarm-aout/libstdc++'
make: *** [all-target-libstdc++] Error 2


More information about the Cygwin mailing list