www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2017/03/28/19:30:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.157.5.72 with SMTP id 66mr3757098otw.106.1490742782922;
Tue, 28 Mar 2017 16:13:02 -0700 (PDT)
X-Received: by 10.157.18.133 with SMTP id g5mr2486108otg.8.1490742782889; Tue,
28 Mar 2017 16:13:02 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Tue, 28 Mar 2017 16:13:02 -0700 (PDT)
In-Reply-To: <cfafbe4c-b342-4a2a-89c0-a37e985be303@googlegroups.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=104.55.20.34; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
NNTP-Posting-Host: 104.55.20.34
References: <201703061736 DOT v26HaJCY005179 AT delorie DOT com> <1df49912-f31f-4881-8404-524756be5162 AT googlegroups DOT com>
<a8955de3-9a28-4d48-a9f0-a7cca96c424d AT googlegroups DOT com> <cfafbe4c-b342-4a2a-89c0-a37e985be303 AT googlegroups DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8cf5773a-3953-404a-8c45-34a4986e5b28@googlegroups.com>
Subject: Re: ANNOUNCE: DJGPP port of FSU Pthreads 3.14 uploaded.
From: "rugxulo AT gmail DOT com [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Injection-Date: Tue, 28 Mar 2017 23:13:02 +0000
Bytes: 2551
Lines: 37
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
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

Hi,

On Thursday, March 23, 2017 at 7:15:32 PM UTC-5, rug DOT  DOT  DOT  AT gmail DOT com wrote:
> 
> A quick attempt seems to build okay. I then used that 7za.exe
> to unpack/rebuild sources again, and the resulting .EXE is the same.
> Try it yourself. ("redir -t" says it took roughly 4 + 1/2 minutes
> under DOSEMU.)

Trying this again has reminded me of the tradeoffs between various
build methods. I had forgotten that I also cross-compiled with
Ozkan's older 2011 GCC build. So I upgraded that (20160728) and
also applied a very naive patch (since "lite" lacks symlinks):

--- p7zip_16.02.new/CPP/Windows/FileDir.cpp	2015-11-09 09:51:42.000000000 -0600
+++ p7zip_16.02/CPP/Windows/FileDir.cpp	2017-03-28 17:26:10.000000000 -0500
@@ -331,6 +331,7 @@
 #endif
 
 static int convert_to_symlink(const char * name) {
+#ifndef DJLITE 
   TRACEN(printf("LINK(%s)\n",name))
   FILE *file = fopen(name,"rb");
   if (file) {
@@ -346,6 +347,7 @@
       return ir;
     }
   }
+#endif
   return -1;
 }
*** end ***

So yes, I can cross-build it, lightning-fast, with "time make -j4"
(2 cores, aka 4 w/ HTT).

Even building in FreeDOS natively under VM isn't horribly slow
with VT-X enabled. But, without VT-X, no thanks, ugh!

- Raw text -


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