delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2022/05/15/09:53:54

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <95f721d5-145e-cb6a-35f5-538f3d5703c8@iki.fi>
Date: Sun, 15 May 2022 16:53:47 +0300
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.0
Subject: Re: gcc-12.1.0
To: djgpp-workers AT delorie DOT com
References: <455f8522-b954-a464-3910-4ad5ccef1125 AT iki DOT fi>
<20220515141213 DOT 7e701047 AT gmx DOT de>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com]" <djgpp-workers AT delorie DOT com>
In-Reply-To: <20220515141213.7e701047@gmx.de>
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

On 5/15/22 15:12, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp-workers AT delorie DOT com] wrote:
> OFYI, I was able to compile the libc code from the CVS repository after
> having disabled -Werror option.  I do not have the time to fix the
> issues about the compiler complains.  The compiler did work on MSDOS
> 6.22 with DOSLFN 0.41c and on Win98SE without issues but on WinXPSP3 I
> got the following error:
>
> c:/djgpp-2.05/BIN/make.exe -C mkdoc
> building new response file
> gcc -g mkdoc.cc -lstdcxx -o ../../hostbin/mkdoc.exe
> In file included from c:/djgpp-2.05/include/cxx/12/stdlib.h:36,
>                   from mkdoc.cc:14:
> c:/djgpp-2.05/include/cxx/12/cstdlib:41:10: fatal error:
> c:/djgpp-2.05/include/cxx/12/djgpp/bits/cxxconfig.h: Permission denied
> (EACCES) 41 | #include <bits/c++config.h> |          ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [makefile:13: ../../hostbin/mkdoc.exe] Error 1
> make: *** [makefile:43: subs] Error 2

I only have Windows Vista Business (should perhaps install FreeDOS 1.3 in VM sometimes). Failed to 
reproduce failure to build mkdoc.exe in Windows Vista.

dbgcom.c did however compile due to problems with inline assember:

c:/djgpp/bin/make.exe -C common
gcc ... -c dbgcom.c
dbgcom.c: Assembler messages:
dbgcom.c:1342: Error: symbol `.Ldoes_not_has_read_right' is already defined
dbgcom.c:1346: Error: symbol `.Ldoes_not_has_write_right' is already defined
make.exe[3]: *** [../../makefile.inc:90: dbgcom.o] Error 1
make.exe[2]: *** [makefile.sub:2: all_subs] Error 2

Also had the same problem with cross-compiler when removed -Werror

Andris



- Raw text -


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