lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV re:lynx for win3.x


From: Benjamin C. W. Sittler
Subject: Re: LYNX-DEV re:lynx for win3.x
Date: Sat, 28 Mar 1998 20:56:37 -0700 (MST)

On 28 Mar 1998, Jason F. McBrayer wrote:

> >>>>> "BCWS" == Benjamin C W Sittler <address@hidden> writes:
> 
> BCWS> On Fri, 27 Mar 1998, SURE wrote:
> 
> >> I wonder how can I get the 16-bit version of lynx.
> >> please mail to address@hidden
> 
> BCWS> I don't know the answer, but I do know that EMX is probably
> BCWS> *not* the way to go. So far, it looks like the linker dies if
> BCWS> any of the individual .o files is more than 64 kilobytes in size
> 
> I've never had that problem (and I can prove by inspection that that's
> not true, looking at my current lynx2-8/src directory for EMX-OS/2;
> several .o files are over 64k, LYMainLoop.o being 163k, for example).
> But in any case, EMX-gcc prduces only 32-bit executables, whether
> under DOS, OS/2, or Windows with RSX.

It turns out the problem was a stack data structure initializer over 64K
in size (this was not Lynx codfe at fault, rather it was a hack of mine.)
Changing to malloc and memset fixed the problem, since the initializer was
like this:
    char x[65538] = {'\0'};

I don't know why, but this made EMX ld barf.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]