X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 2002:a05:6214:29c9:: with SMTP id gh9mr44031216qvb.50.1635951060646; Wed, 03 Nov 2021 07:51:00 -0700 (PDT) X-Received: by 2002:a05:6902:706:: with SMTP id k6mr21888228ybt.265.1635951060426; Wed, 03 Nov 2021 07:51:00 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Wed, 3 Nov 2021 07:51:00 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=89.144.197.13; posting-account=RR3OeQoAAACYgn23XqTski3oGOFlt-O1 NNTP-Posting-Host: 89.144.197.13 References: <4016e9cd-0be1-4758-8f29-db7770508ed6n AT googlegroups DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: DJGPP build of gcc-10.3.0 and make 4.3 incompatibility From: "Stefan Ring (stefanrin AT gmail DOT com) [via djgpp AT delorie DOT com]" Injection-Date: Wed, 03 Nov 2021 14:51:00 +0000 Content-Type: text/plain; charset="UTF-8" Bytes: 2699 Lines: 38 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 1A3FF1GF014823 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wednesday, November 3, 2021 at 3:43:44 PM UTC+1, Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com] wrote: > Actually gcc-10.3.0 was built for DJGPP, just not uploaded (both RPMs and DJGPP packages). > Uploading could be easy. > > Problem with cross-compiler: > > - libstdc++v3 configure does not check correctly available C library functions and as result they > may not be put into std namespace. I would like to do cross-native build (building DJGPP native > compiler using cross-compiler from Linux but it would have the same problem with libstdc++ > > Also: > > Actually myƶs SRPM package is generated. Generating script is not in SRPM or gccXXXs.zip but can be > found in my GCC repo fork in GitHub. > > For djgpp/native/gcc-10 branch it is: > > https://github.com/apavenis/djgpp-gcc/blob/djgpp/native/gcc-10/djgpp/mk-djcross-gcc.sh > > Script generates > > - SRPM package > > - patch to be applied for ArchLinux build Yeah, I figured out most of this, and I already used the SRPM to build the zip and build that on Windows. I just noticed that it does not work with (djgpp) make 4.3, but it does with make 4.1r2 (from the directory "deleted", IIRC). I also did a cross-native build of gcc-10.3, and it seemed to work ok, but I did not test it on anything more sophisticated than a C++ "Hello World".