Re: UTF8 convert when using make

2020-05-27 Thread Truong Term
Dear Paul and Eli,

Thanks for your support, let me try


Best Regards,

On Wed, May 27, 2020 at 11:53 PM Eli Zaretskii  wrote:

> > From: Truong Term 
> > Date: Wed, 27 May 2020 15:44:16 +0800
> >
> > I downloaded this one
> > http://gnuwin32.sourceforge.net/packages/make.htm
> >
> > and got an error in display charset utf8 when trying to pass the
> parameter see my screenshot below
>
> MinGW programs are native MS-Windows console executables, and thus
> cannot support UTF-8 encoded text.  Your shell command, by contrast,
> runs in an MSYS2 Bash, which is a fork of Cygwin, which is NOT a
> native Windows program and does support UTF-8.
>
> If you must have UTF-8 suppport, I suggest to use the MSYS2 build of
> Make (or a Cygwin build).
>


Re: math expressions (was: Re: Tail call elimination)

2020-05-27 Thread Pete Dietl
A few questions.

Technically, the C standard allows for machines which don't use 2's complement.
So should we consider our LONG_MIN to be -2^63 + 1?

Also, signed arithmetic overflow is undefined behavior, so should we also
indicate that we have undefined behavior or should we use some
function that reliably detects and
wraps signed arithmetic?

Bit shifting to the right with signed integers is undefined behavior
too. Usually this is an arithmetic shift,
but it's not guaranteed. Should we try to guarantee this with some
function or should we leave this as undefined behavior?

Before I make my proposal, what do you think of supporting the
following operators:
+, -, /, *, not, and, or, comp, <<, >>

Should the logical operators have english names or should they be C
symbols like !, &, |, ~ ?



Re: UTF8 convert when using make

2020-05-27 Thread Paul Smith
On Wed, 2020-05-27 at 15:44 +0800, Truong Term wrote:
> I downloaded this one 
> http://gnuwin32.sourceforge.net/packages/make.htm 

That site is not part of the GNU project or the FSF.

If you want help using that version please refer to their support
lists:
http://gnuwin32.sourceforge.net/
http://gnuwin32.sourceforge.net/lists.html

However it seems they have not updated their software in a long time.

I can't say for sure whether your example will work with the current
released version of GNU make (4.3), but that version of GNU make (3.81)
was released in 2006 and is definitely no longer supported.

There may be other places to find pre-compiled binaries for Windows
that are more up-to-date.  Or you can compile the latest version yourself from 
source.




UTF8 convert when using make

2020-05-27 Thread Truong Term
Dear team,

I downloaded this one
http://gnuwin32.sourceforge.net/packages/make.htm

and got an error in display charset utf8 when trying to pass the parameter
see my screenshot below

[image: image.png]
in my Makefile

[image: image.png]

Please help, thanks



Best Regards,