tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] GNUmake v4.4 port on Windows with tcc


From: Christian Jullien
Subject: Re: [Tinycc-devel] GNUmake v4.4 port on Windows with tcc
Date: Wed, 2 Nov 2022 17:05:00 +0100

I subscribe both lists and tried to build make 3.3.91 two weeks ago but it 
failed because some configuration files were missing.

F:\wintcc\make-7c71df5695720dcf5947a7eba1682452ee497288>build_w32.bat tcc

Creating GNU Make for Windows 9X/NT/2K/XP/Vista/7/8/10

- Building with TinyC
- Enabling maintainer mode

tcc version 0.9.27 mob:aea2b53-mob (x86_64 Windows)
- pkg-config not found, building without Guile

Compiling .\TccRel version
        1 file(s) copied.
The system cannot find the path specified.
The system cannot find the path specified.
- Compiling src/ar.c
In file included from src/ar.c:18:
In file included from src/makeint.h:20:
./TccRel/src/config.h:18: error: include file 'mkconfig.h' not found

Which now exists in 4.4.

Next time, I'll try to give you more feedback with intermediate versions. You 
can also ping me if you think a version is stable enough to be tested on 
Windows with tcc.

Christian

-----Original Message-----
From: Paul Smith [mailto:psmith@gnu.org] 
Sent: Wednesday, November 02, 2022 16:51
To: jullien@eligis.com; make-w32@gnu.org
Cc: tinycc-devel@nongnu.org; 'Eli Zaretskii'
Subject: Re: GNUmake v4.4 port on Windows with tcc

On Wed, 2022-11-02 at 16:40 +0100, Christian Jullien wrote:
> It appears that tcc on Windows lacks strtoll and strtoull (something
> that
> needs to be fixed on tcc side of course).
> Meanwhile, it can easily be patched in build_w32.bat by adding
> -Dstrtoull=_strtoui64 -Dstrtoll=_strtoi64 at line 330
> 
> call %COMPILER% -mthreads -Wall -std=c11 %OPTS% -I%OUTDIR%/src -
> I./src
> -I%OUTDIR%/lib -I./lib -I./src/w32/include -D_cdecl= -
> Dstrtoull=_strtoui64
> -Dstrtoll=_strtoi64 -D_MSC_VER -DHAVE_CONFIG_H %EXTRAS% -o
> %OUTDIR%/%1.%O%
> -c %1.c
> 
> Hope it helps.

Thanks for that note.  We will choose a different way to address this I
expect but it's good to know there's a problem.

It would be very helpful if someone from tinycc-devel subscribed to one
of the make mailing lists, and could volunteer to build the release
candidates with tcc to ensure that they work properly: we had 3 release
candidates published over 4 weeks before the 4.4 release was made and
issues like this are just the kind of thing we hope to catch during
that period.

Cheers!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]