| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
| X-Authentication-Warning: | new-smtp1.ihug.com.au: Host p53-max24.syd.ihug.com.au [203.173.152.181] claimed to be acceleron |
| Message-ID: | <003001c1809d$e0ff19c0$0102a8c0@acceleron> |
| From: | "Andrew Cottrell" <acottrel AT ihug DOT com DOT au> |
| To: | <djgpp-workers AT delorie DOT com>, "Charles Sandmann" <sandmann AT clio DOT rice DOT edu> |
| References: | <10112090644 DOT AA19383 AT clio DOT rice DOT edu> <002b01c1808e$7f2fe080$0102a8c0 AT acceleron> |
| Subject: | Re: v2.03 refresh ready for review/testing |
| Date: | Sun, 9 Dec 2001 21:39:01 +1100 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
| Reply-To: | djgpp-workers AT delorie DOT com |
Charles,
More testing info below. Have you been able to build GCC 2.9.5.3 on 2K or
XP? I can build it on 98 using the GCC built..
> > > I spotted in src\libc\dos\process\dosexec.c that at about line 389
that
> the
> > > 2.04 has the following :-
> > > /* Work around the W2K NTVDM bug; see dpmiexcp.c for detailed
> > > explanations. */
> > > __maybe_fix_w2k_ntvdm_bug();
> > >
> > > The updated 2.03 file does not have this. The function is
> direct_exec_tail_1
> > > (). Could this be the cause of the problems I haev seen?
I added the __maybe_fix_w2k_ntvdm_bug() call in dosexec.c and re-built LIBC
on Win 98 and then make, bash, binutils and GCC 2.9.5.3. I then copied the
updtaed exe files and unzipped the GCC zip files on my XP PC. The GCC build
still failed in the same way as before.
I after a failure with not enough memory I run build again in the same cmd
prompt it fails again, but then I don't have enough memory to load list. The
following is the command prompt output from the seond build:-
DJGPP H:\djgpp\gnu\gcc-2.953\build.djg>build
Configuring GCC-2.95.3...
BASH_VERSION: 2.04.7(1)-release
Build failed
DJGPP H:\djgpp\gnu\gcc-2.953\build.djg>list
Not enough memory (2)
DJGPP H:\djgpp\gnu\gcc-2.953\build.djg>mem
655360 bytes total conventional memory
655360 bytes available to MS-DOS
66608 largest executable program size
1048576 bytes total contiguous extended memory
0 bytes available contiguous extended memory
941056 bytes available XMS memory
MS-DOS resident in High Memory Area
DJGPP H:\djgpp\gnu\gcc-2.953\build.djg>
The failure on the second attempt occured in the config stage. The last few
lines in the djconfig.log file are:-
checking GCC_EXEC_PREFIX variable... ok
checking host system type... i586-pc-msdosdjgpp
checking target system type... i586-pc-msdosdjgpp
checking build system type... i586-pc-msdosdjgpp
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
Configure in /dev/h/djgpp/gnu/gcc-2.953/build.djg/gcc failed, exiting.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |