Re: mingw32 build (was Re: slrn 0.9.9 release plans)

"John E. Davis" <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
Marcin Wiśniewski <[email protected]> wrote:
> [*John E. Davis*,([email protected])]
> [<[email protected]>]
>> Great.  After some minor modifications, I sucessfully used the
>> cross-compiler to build a mingw32 version of slrn.  The changes are
>> available in the repository as pre0.9.9-42.
>
> Thank you, I compiled it, 517.632 bytes, it runs.

That's good news.

> 1) Unable to typecast Null_Type to String_Type - I have this error on
> reading of every post. It doesn't show in clean installation, which suggests
> one of my macros, but I already disabled those "more dangerous".

This is an area that cries out for better integration of the
interpreter and sldb debugger.  Until then, you will have to add this
to the top of your whatever.sl file:

   open_log_file ("slang.log");
   _traceback = 1;

Then after you have run slrn to generate the error, take a look at
slang.log.

> 2) Charsets - same errors as in previous version.

Not surprising considering that the native windows version does not
have support for character set translation enabled.  For this, a
windows equivalent of iconv will be required.  As I stated before, I
know next to nothing about windows, and even less about character set
handling under windows.

> set fallback_charset UTF-8
> charset Display UTF-8
> and changing cmd.exe codepage to utf
> - all non-asci chars are empty squares

You may need to install UTF-8 specific fonts.  In addition, you may
have to set the LANG environment variable to something like
"pl_PL.UTF-8" to force slang into UTF-8 mode.

Good luck,
--John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.