- Subject: Re: Building jed 0.99-17 & slang 1.4.9 for Win32
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Thu, 15 Jul 2004 11:34:13 -0400
John Skilleter <john@xxxxxxxxxxxxxxxx> wrote:
>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
The pre-released version of jed has only been tested on Unix. As a
result, I am not surprised that the windows port is broken. I will
put out another snapshot soon that fixes some of these problems
because I also to release a slang 2 snapshot and I would like jed to
be tested with it.
>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.
Perhaps a Borland v5.02 specific entry in makefile.all. Are you using
Windows NT? makefile.all contains this NT specific code:
! if$OS Windows_NT
RSP_POSTFIX = ^^&
! else
RSP_POSTFIX = &
! endif
>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')....
jed_insert_chars was renamed to to jed_insert_nbytes because the UTF-8
version distinguishes chars from bytes.
Please feel free to send me a patch of all your changes for
integration into the next snapshot.
Thanks again,
--John
--------------------------
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]