On Sun, Dec 14, 2025 at 03:47:45PM -0800, Ben Collver wrote:
> On Sun, Dec 14, 2025 at 03:25:21PM -0800, Ben Collver wrote:
> > Here is a download link for bcc 0.16.21 built for FreeDOS using
> > OpenWatcom 1.9:
> > 
> > <gopher://tilde.pink/9/~bencollver/files/dos/devel/bcc/bcc_pt1.zip>
> > 
> > This can be fetched on FreeDOS with: curl -O
> 
> Reviewing the changes i spotted a small bug and fixed it.

Reviewing the changes, i cleaned up the #ifdef's.

In ar/ar.c i had used #ifdef MSDOS to change a 16-bit int to a
32-bit long.

In ar/ar.c, as/pops.c, ld/rel_aout.h, and ld/io.c, i had used
#ifdef __WATCOMC__ to change a 16-bit int to a 32-bit long.

In both cases, the new test is:

    #if defined(__WATCOMC__) && defined(__LARGE__)

In theory BCC could be built with Watcom's 32-bit flat memory model
where the int type is already 32-bits.  That's why i changed the
test.

I posted the new build to:

<gopher://tilde.pink/9/~bencollver/files/dos/devel/bcc/bcc_pt3.zip>


_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to