jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Building jed 0.99-17 & slang 1.4.9 for Win32


Greetings folks,

Firstly, thanks to John for the new version of Jed.

However, I'm trying to build the newest jed and slang for Windows and they
won't, at least when using a makefile created for Borland C and Win32 with
mkmake. I'm using v5.02 of the Borland compiler, which is rather old, but
does everything I need it to and doesn't require Windows XP, .NET and 10Gb
of disk space :-).

Zerothly, the makefile generated for s-lang sets RSP_POSTFIX to '^^&',
which confuses the Borland linker - it should be just '&' - with this
change the slang library seems to build OK.

Firstly, there's a "defined(__BORLAND_V5__)" used in jed's config.h to
detect use of the Borland v5 C compiler (I assume) but __BORLAND_V5__ isn't
defined by v5.0x of the compiler (which I'm using) changing this to the
slightly more cumbersome:

(defined(__BORLANDC__) && (__BORLANDC__>>8)==5)

seems to fix the problem - at least everything compiles, anyway.

Secondly, though, there are two functions; jed_insert_chars and
jed_open_process_pipe that are called a number of times in the source, but
jed_insert_chars isn't defined anywhere and jed_open_process_pipe is
defined in jprocess.c, but that source file is for OS/2, not Win32.

I can probably knock together a reasonable jed_insert_chars function or
maybe even just replace it with jed_insert_nbytes, but
jed_open_process_pipe looks 'interesting' (in my experience, multiple
processes under Windows are always 'interesting')....

Any ideas?

JMS

-----------------------------------------
John Skilleter - john@xxxxxxxxxxxxxxxx & elsewhere
'DOS is best spelt backwards!'
    http://www.skilleter.org.uk
    http://www.roada.org.uk
-----------------------------------------



--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]