delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/12/13:35:27

From: wstrong AT uoguelph DOT ca (Walter Strong)
Newsgroups: comp.os.msdos.djgpp
Subject: building *nix cross-compiler
Date: 12 Apr 1999 17:03:21 GMT
Organization: University of Guelph
Lines: 65
Message-ID: <7et90p$ot3$1@testinfo.uoguelph.ca>
NNTP-Posting-Host: 131.104.96.14
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


Hi,

I realize that this isn't a unix ng, but I can't seem to find the help that
I need elsewhere.  I downloaded  djcrx202.zip and the outdated binutils and gcc
packages that it recommends building against and got what looks to be a
successful build.  I say "looks to be" as there were a couple of statements
that are a bit confusing:

mv: libgcc1.a: No such file or directory
You must find a way to make libgcc1.a
make[1]: *** [libgcc1.cross] Error 1
make[1]: Leaving directory `/usr/local/src/Delorie/gcc-2.7.2'
tail -2 ./gcc-2.7.2/make.out | grep "way to make libgcc1.a"
You must find a way to make libgcc1.a
echo That error was expected.  Make of gcc succeeded. \
        > /dev/null
gcc -O3 -m486 -fno-strength-reduce src/stub/stubify.c -o stubify
gcc -O3 -m486 -fno-strength-reduce src/stub/stubedit.c -o stubedit
echo Done > /dev/null


So there was an expected error and the statement that I must find a 
way to make libgcc1.a, but then the statement that gcc had been made.
I couldn't finad any binaries in the src trees that suggested a
successful make of dos-gcc, but thought I would try the 'make install'
anyway, and got the following errors:

Q:/usr/local/src/Delorie# make install
./gcc-2.7.2/install.sh -d /usr/local/i586-pc-msdosdjgpp/lib/gcc-lib/
	i386-go32-msdos/egcs-2.90.29        /bin -m 755
./gcc-2.7.2/install.sh -d /usr/local/i586-pc-msdosdjgpp/lib/gcc-lib/
		i386-go32-msdos/egcs-2.90.29         -m 755
( cd ./binutils-2.7/binutils ; \
          ../install.sh -s -m 755 c++filt /usr/local/i586-pc-msdosdjgpp/
lib/gcc-lib/i386-go32-msdos/egcs-2.90.29        /bin ; \
          ../install.sh -s -m 755 objcopy /usr/local/i586-pc-msdosdjgpp/
lib/gcc-lib/i386-go32-msdos/egcs-2.90.29        /bin ; \
          ../install.sh -s -m 755 objdump /usr/local/i586-pc-msdosdjgpp/l
ib/gcc-lib/i386-go32-msdos/egcs-2.90.29        /bin ; \
          ../install.sh -s -m 755 ar /usr/local/i586-pc-msdosdjgpp/lib/
gcc-lib/i386-go32-msdos/egcs-2.90.29     /bin ; \
          ../install.sh -s -m 755 size /usr/local/i586-pc-msdosdjgpp/lib/
gcc-lib/i386-go32-msdos/egcs-2.90.29   /bin ; \
          ../install.sh -s -m 755 nm.new /usr/local/i586-pc-msdosdjgpp/
lib/gcc-lib/i386-go32-msdos/egcs-2.90.29 /bin/nm ; \
          ../install.sh -s -m 755 strip.new /usr/local/i586-pc-msdosdjgpp/
lib/gcc-lib/i386-go32-msdos/egcs-2.90.29      /bin/strip )
strip: /bin/#inst.10202#: File format not recognized
strip: /bin/#inst.10219#: File format not recognized
strip: /bin/#inst.10236#: File format not recognized
strip: /bin/#inst.10253#: File format not recognized
strip: /bin/#inst.10270#: File format not recognized
strip: /bin/#inst.10287#: File format not recognized
strip: /bin/#inst.10303#: File format not recognized
make: *** [install.binu] Error 1

I included the non-error stuff in case it provides a hint as to why things
aren't working.  

Again, I dont'  mean to offend by posting such a *nixy question to
this ng, but I've tried more appropriate channels and am still
very stuck.  I'd really like to get this cross-compiler going so I'd
appreciate anything you might suggest.

- Raw text -


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