[LLVMdev] xgcc: installation problem, cannot exec `gccas': No such file or directory

Henrik Bach henrik_bach_llvm at hotmail.com
Mon Jun 28 09:23:02 PDT 2004


Hi Guys

I'm trying to port and build the GCC Front End to the Interix environment. 
I've succeded until the xgcc program executes:

/usr/local/src/cfrontend/build/gcc/xgcc 
-B/usr/local/src/cfrontend/build/gcc/ 
-B/usr/local/src/cfrontend/install//i586-pc-interix3/bin/ 
-B/usr/local/src/cfrontend/install//i586-pc-interix3/lib/ -isystem 
/usr/local/src/cfrontend/install//i586-pc-interix3/include -isystem 
/usr/local/src/cfrontend/install//i586-pc-interix3/sys-include -O2  -DIN_GCC 
  -D__INTERIX -D_ALL_SOURCE  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../src/gcc -I../../src/gcc/. 
-I../../src/gcc/../include  -DL_chkstk -xassembler-with-cpp -c 
../../src/gcc/config/i386/cygwin.asm -o libgcc/./_chkstk.o
xgcc: installation problem, cannot exec `gccas': No such file or directory

Why is xgcc looking for gccas? I've not yet build the LLVM sources. And with 
my knowledge up to this point, it is not necessary - Correct me if I'm 
wrong.

I have an assembler (as):

% as -version
GNU assembler 2.13.90 20021111
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i586-pc-interix3'.
%

Should I establish a symbolic link to this assembler instead?

/Henrik


Here is the full rerun:
--- Start -------------
gmake[1]: Entering directory `/usr/local/src/cfrontend/build/libiberty'
gmake[2]: Entering directory 
`/usr/local/src/cfrontend/build/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory 
`/usr/local/src/cfrontend/build/libiberty/testsuite'
gmake[1]: Leaving directory `/usr/local/src/cfrontend/build/libiberty'
gmake[1]: Entering directory `/usr/local/src/cfrontend/build/intl'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/src/cfrontend/build/intl'
gmake[1]: Entering directory `/usr/local/src/cfrontend/build/gcc'
gmake \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long -fno-common " \
  CONFIG_H="tconfig.h ../../src/gcc/../include/ansidecl.h" TM_H="tm.h      
../../src/gcc/config/i386/i386.h ../../src/gcc/config/i386/unix.h 
../../src/gcc/config/i386/bsd.h ../../src/gcc/config/i386/gas.h 
../../src/gcc/config/i386/i386-interix.h 
../../src/gcc/config/i386/i386-interix3.h ../../src/gcc/config/interix.h 
../../src/gcc/config/interix3.h ../../src/gcc/defaults.h insn-constants.h 
insn-flags.h" \
  MAKEOVERRIDES= \
  -f libgcc.mk all
gmake[2]: Entering directory `/usr/local/src/cfrontend/build/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else sh ../../src/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/local/src/cfrontend/build/gcc/xgcc 
-B/usr/local/src/cfrontend/build/gcc/ 
-B/usr/local/src/cfrontend/install//i586-pc-interix3/bin/ 
-B/usr/local/src/cfrontend/install//i586-pc-interix3/lib/ -isystem 
/usr/local/src/cfrontend/install//i586-pc-interix3/include -isystem 
/usr/local/src/cfrontend/install//i586-pc-interix3/sys-include -O2  -DIN_GCC 
  -D__INTERIX -D_ALL_SOURCE  -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../src/gcc -I../../src/gcc/. 
-I../../src/gcc/../include  -DL_chkstk -xassembler-with-cpp -c 
../../src/gcc/config/i386/cygwin.asm -o libgcc/./_chkstk.o
xgcc: installation problem, cannot exec `gccas': No such file or directory
gmake[2]: *** [libgcc/./_chkstk.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/cfrontend/build/gcc'
gmake[1]: *** [libgcc.a] Error 2
gmake[1]: Leaving directory `/usr/local/src/cfrontend/build/gcc'
gmake: *** [all-gcc] Error 2
--- End -------------

_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://www.msn.dk/messenger




More information about the llvm-dev mailing list