Borland's bcc55 linker...
cgibbs at nowhere.in.particular
Mon Sep 10 16:04:39 CDT 2001
In article <3b9cefea.749266 at news.nerim.net> g.patel at wanadoo.fr.invalid
(gerard patel) writes:
>On Mon, 10 Sep 2001 16:30:19 -0400, "J.K." <jk at whoknowswhere.net>
>>hangs when I try to build a simple HelloWorld app.
>>Am I doing something wrong or is it a known problem/bug?
>Well known of me. I have already posted an explanation
>several times now.
>>If so, is there maybe a workaround?
>No easy workaround.
Still, the fix that you posted a few months ago (in response to
the same request from me) works just fine. (I'm still running
the 20010216 version, though - maybe it doesn't work for newer
X-SystemInfo: Internet: comp.emulators.ms-windows.wine
X-Message-No: 948 (database)
From: g.patel <g.patel at wanadoo.fr>
Subject: Re: Borland C++-5.5 (free) compiler does not install(?)
Date: Fri, 6 Apr 1 02:18:00
Message-ID: <3acd9687.32055 at news.freesbee.fr>
References: <3ACC1529.8080202 at uta.fi>
<3acc8ac4.93364 at news.freesbee.fr>
<1089.495T870T7793943 at sky.bus.com>
X-Newsreader: Forte Free Agent 1.11/32.235
X-Complaints-To: abuse at freesbee.fr
X-Trace: loualaba.paris.none.net 986552023 126.96.36.199 (Fri, 06 Apr 2001
12:13:43 MET DST)
NNTP-Posting-Date: Fri, 06 Apr 2001 12:13:43 MET DST
Xref: spln comp.emulators.ms-windows.wine:41865
On 05 Apr 01 12:59:17 -0800, "Charlie Gibbs" <cgibbs at sky.bus.com> wrote:
>It's the linker (ILINK32.EXE) that hangs. I've run many tests with
>both BCB4 and the version 5 free download. Too bad - I'd love to
>get it running under Wine myself.
The following hack is fixing Bcb4. I don't know about bcc5.
--- virtual.c.orig Tue Feb 27 03:09:18 2001
+++ virtual.c Fri Apr 6 12:11:41 2001
@@ -1045,6 +1045,8 @@
if (addr >= (void*)0xc0000000) return 0;
+ VirtualAlloc( 0x80000000, 0x1000, MEM_RESERVE | MEM_SYSTEM,
base = ROUND_ADDR( addr );
/* Find the view containing the address */
@@ -1097,6 +1099,8 @@
info->BaseAddress = (LPVOID)base;
info->AllocationBase = (LPVOID)alloc_base;
info->RegionSize = size - (base - alloc_base);
+ if ((info->BaseAddress + info->RegionSize) > 0xc0000000)
+ info->RegionSize = 0xc0000000 - (DWORD)info->BaseAddress;
cgibbs at nowhere.in.particular (Charlie Gibbs)
I'm switching ISPs - watch this space.
More information about the wine-users