delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/14/16:14:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199910142012.QAA05652@hoover.gilbarco.com>
From: "Williams, Rodger" <rodger_williams AT gilbarco DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: powerpc-linux-ar problem gcc build.
Date: Thu, 14 Oct 1999 16:11:14 -0400
Mime-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

Hello,

We are trying to build a cross compiler for the powerpc-linux from a
i686-pc-cygwin32 (Windows NT) with gcc-2.95.1

I have already installed and compiled binutils-2.9.5.0.16

From my bash, I execute the configure script which completes fine with the
following:

host=i686-pc-cygwin32
target=powerpc-linux
prefix=/croscomp
i=$prefix/bin

../gcc-2.95.1/configure --target=$target --prefix=$prefix
--with-headers=/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/include

which goes through and creates the configure stuff

However, when I run 'make all install' it goes through the compilation and
errors out with :

/usr/build-gcc/gcc/xgcc -B/usr/build-gcc/gcc/ -B/croscomp/powerpc-linux/bin/
-I/
croscomp/powerpc-linux/include -O2  -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g
-O2 -
I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-mstrict-align -
g -O2 -I. -I../../gcc-2.95.1/gcc -I../../gcc-2.95.1/gcc/config
-I../../gcc-2.95.
1/gcc/../include \
  -c ../../gcc-2.95.1/gcc/cp/new2.cc -DL_op_vdel -o opvdel.o
powerpc-linux-ar: not found
/usr/build-gcc/gcc/xgcc -B/usr/build-gcc/gcc/ -B/croscomp/powerpc-linux/bin/
-I/
croscomp/powerpc-linux/include -O2  -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g
-O2 -
I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-mstrict-align -
g -O2 -I. -I../../gcc-2.95.1/gcc -I../../gcc-2.95.1/gcc/config
-I../../gcc-2.95.
1/gcc/../include \
  -c ../../gcc-2.95.1/gcc/cp/new2.cc -DL_op_vdelnt -o opvdelnt.o
powerpc-linux-ar: not found
/usr/build-gcc/gcc/xgcc -B/usr/build-gcc/gcc/ -B/croscomp/powerpc-linux/bin/
-I/
croscomp/powerpc-linux/include -O2  -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g
-O2 -
I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-mstrict-align -
g -O2 -I. -I../../gcc-2.95.1/gcc -I../../gcc-2.95.1/gcc/config
-I../../gcc-2.95.
1/gcc/../include \
  -c -fexceptions ../../gcc-2.95.1/gcc/cp/exception.cc
powerpc-linux-ar: not found
mv tmplibgcc2.a libgcc2.a
mv: tmplibgcc2.a: No such file or directory
make[3]: *** [libgcc2.a] Error 1
make[2]: *** [stmp-multilib-sub] Error 2
make[1]: *** [stmp-multilib] Error 1
make: *** [all-gcc] Error 2

It seems that it is bugging out on the 'powerpc-linux-ar' which is defined
in the gcc/makefile ($AR_FOR_TARGET) in this snapshot of that build section:
......
make GCC_FOR_TARGET="/usr/build-gcc/gcc/xgcc -B/usr/build-gcc/gcc/
-B/croscomp/p
owerpc-linux/bin/ -I/croscomp/powerpc-linux/include" \
  AR_FOR_TARGET="powerpc-linux-ar" \
  AR_FLAGS_FOR_TARGET="rc" \
  CC="gcc" CFLAGS="-g -O2" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  LANGUAGES="c proto gcov.exe CHILL c++ f77 java objc" \
  LIBGCC2_CFLAGS="-O2  -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g -O2
-I./include  -
fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -mstrict-align" libgcc2.a
if [ -f libgcc2.ready ] ; then \
        true; \
else \
        touch libgcc2.ready; \
fi
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
_ashldi3
_ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf
_floatdisf
 _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi
_fix
unsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp
_varar
gs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors
_pur
e; \
do \
  echo ${name}; \
  /usr/build-gcc/gcc/xgcc -B/usr/build-gcc/gcc/
-B/croscomp/powerpc-linux/bin/ -
I/croscomp/powerpc-linux/include -O2  -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g
-O2
 -I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-mstrict-align
 -I. -I../../gcc-2.95.1/gcc -I../../gcc-2.95.1/gcc/config
-I../../gcc-2.95.1/gcc
/../include -c -DL${name} \
       ../../gcc-2.95.1/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  powerpc-linux-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
powerpc-linux-ar: not found
_divdi3
powerpc-linux-ar: not found
_moddi3
powerpc-linux-ar: not found
....etc, etc,

Any help on this would be greatly appreciated...

rodger

================================
Rodger Williams
Dispenser Electronics Engineering
Gilbarco Inc.
Ph:    336.547.5480 
Fax:   336.547.5079     
================================



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019