| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
| From: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
| Message-Id: | <10112131817.AA19512@clio.rice.edu> |
| Subject: | XP gcc build fails - help |
| To: | djgpp-workers AT delorie DOT com (DJGPP developers) |
| Date: | Thu, 13 Dec 2001 12:17:41 -0600 (CST) |
| In-Reply-To: | <001401c1808e$1ddb30a0$0102a8c0@acceleron> from "Andrew Cottrell" at Dec 09, 2001 07:46:50 PM |
| X-Mailer: | ELM [version 2.5 PL2] |
| Mime-Version: | 1.0 |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
Using Andrew's builds from clio. Environment XP. Trying to build
gcc 2.953. Bash 2.05. Get further (no more out of memory problems
in stage 1). See strange error, reproducible:
cd ./fixinc; c:/djgpp/bin/bash.exe ${srcdir}/mkfixinc.sh i586-pc-msdosdjgpp
c:/djgpp/tmp/dj940000: c:/djgpp/tmp/dj940000: cannot execute binary file
make.exe[1]: *** [fixinc.sh] Error 126
make.exe[1]: Leaving directory `c:/djgpp/gnu/gcc-2.953/build.djg/gcc'
make.exe: *** [all-gcc] Error 2
From the command line if I cd to fixinc, do command:
C:\djgpp\gnu\gcc-2.953\gcc>cd fixinc
C:\djgpp\gnu\gcc-2.953\gcc\fixinc> bash mkfixinc.sh i586-pc-msdosdjgpp
constructing ../fixinc.sh for i586-pc-msdosdjgpp
Seems to work, creates:
#! /bin/sh
exit 0
Try the build again, it fails running this file (which also works from
cmd line):
c:/djgpp/bin/bash.exe ./fixinc.sh `pwd`/include c:/djgpp/include
./fixinc.sh: ./fixinc.sh: No such file or directory (ENOENT)
make.exe[1]: *** [stmp-fixinc] Error 127
make.exe[1]: Leaving directory `c:/djgpp/gnu/gcc-2.953/build.djg/gcc'
make.exe: *** [all-gcc] Error 2
From command line make -f ... stmp-fixinc works fine after creating
fixinc.sh on the command line.
These are all build environment/make/bash interactions that have nothing
to do with the refresh. Ideas?
The only thing I can see here is we are trying to execute a script
fixinc.sh that has a directory by the name of fixinc in the same
directory?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |