delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/23/07:17:09

From: floyd7 AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: linux-x-djgpp gcc compiler errors
Date: Sun, 23 Apr 2000 10:53:28 GMT
Organization: Deja.com - Before you buy.
Lines: 36
Message-ID: <8dukn6$e96$1@nnrp1.deja.com>
NNTP-Posting-Host: 208.14.200.224
X-Article-Creation-Date: Sun Apr 23 10:53:28 2000 GMT
X-Http-User-Agent: Mozilla/4.7 [en] (Win98; U)
X-Http-Proxy: 1.0 x32.deja.com:80 (Squid/1.1.22) for client 208.14.200.224
X-MyDeja-Info: XMYDJUIDfloyd7
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I been trying to setup a Linux-x-djgpp cross compiler. I followed the
steps in DJ Delorie "Building a Linux-x-djgpp cross compiler".

Can anyone tell me whats going on here in my log file here. I ran
"make > make.log 2>&1" to log what happens when i run "make" under the
gcc build directory.

log file:::

gcc -DCROSS_COMPILE -DIN_GCC     -g -O2  -DHAVE_CONFIG_H  -o collect2
collect2.o tlink.o hash.o intl.o
underscore.o version.o  obstack.o        ../libiberty/libiberty.a
cp xgcc gcc-cross
/usr/src/djgpp/cross/gcc/gcc/xgcc -B/usr/src/djgpp/cross/gcc/gcc/
-B/usr/local/i586-pc-msdosdjgpp/bin/
-I/usr/local/i586-pc-msdosdjgpp/include -dumpspecs > tmp-specs
mv tmp-specs specs
echo "void __foo () {}" > dummy.c
/usr/src/djgpp/cross/gcc/gcc/xgcc -B/usr/src/djgpp/cross/gcc/gcc/
-B/usr/local/i586-pc-msdosdjgpp/bin/
-I/usr/local/i586-pc-msdosdjgpp/include -DCROSS_COMPILE -DIN_GCC     -g
-O2 -I./include  -c dummy.c
i586-pc-msdosdjgpp-ar rc libgcc1.null dummy.o
make[1]: i586-pc-msdosdjgpp-ar: Command not found
make[1]: *** [libgcc1.null] Error 127
make[1]: Leaving directory `/usr/src/djgpp/cross/gcc/gcc'
make: *** [all-gcc] Error 2

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
I have the file "i586-pc-msdosdjgpp-ar" sitting in my /usr/local/bin and
/usr/local/i586-pc-msdosdjgpp/bin
directories. Can you tell me why it is not finding it.


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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