[M3devel] build problems with libunicode

Rodney M. Bates rodney_bates at lcwb.coop
Fri May 30 19:08:26 CEST 2014


Hmm, fix it in the m3makefile and just not mess with the do-cm3-*.sh scripts at all.
That shouldn't be too hard.  The m3makfile could emit a loud warning that UniCodec
was not a working version.

Or maybe not build even UniCodec's interface, which would no doubt entail not building
anything in the library at all.  None of it will be of much use without full Unicode
WIDECHAR.

On 05/29/2014 08:12 PM, Jay K wrote:
> I guess Unicode_WIDECHAR = TRUE is what you picked, so:
>
> if not defined("Unicode_WIDECHAR")
>   Unicode_WIDECHAR = FALSE
> end
> in cm3cfg.common and libunicode/src/m3makefile
>
> and then if Unicode_WIDECHAR around the rest of libunicode/src/m3makefile?
>
>
> I would have likely used a function returning byte size.
>
>
>
>   - Jay
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 --
> From: jay.krell at cornell.edu
> To: rcolebur at scires.com; m3devel at elegosoft.com
> Subject: RE: [M3devel] build problems with libunicode
> Date: Fri, 30 May 2014 00:07:11 +0000
>
> Can https://dcvs.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/libunicode/src/m3makefile
>
>
> do something to filter itself out from building with a compiler that won't work?
>
> Can you add a builtin quake function
> WideCharByteSize() or some other name
>
> that returns 2 or 4, and in cm3cfg.common, if it isn't already defined (builtin), define one that returns 2?
> and then, in libunicode/src/m3makefile, do the same thing, define a function that returns 2 if it isn't already defined?
>
>
>
>   - Jay
>
>
-- 
Rodney Bates
rodney.m.bates at acm.org



More information about the M3devel mailing list