tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] tcc compilation on MSYS2


From: avih
Subject: Re: [Tinycc-devel] tcc compilation on MSYS2
Date: Sat, 14 May 2016 14:33:57 +0000 (UTC)

You can try my branch: https://github.com/avih/tinycc/commits/drafts (note, I force-push and keep it rebased on top of mob).

It includes several build consolidation for windows such that it needs less windows-specific checks etc, but also adds some other improvements (like getopt working out of the box, and few more, including make it self-hosting using the latest official tcc-for-windows-release - 0.26). It shouldn't hard to identify the commits which only touch the build system.

I haven't touched tcc for some months, and at the time I was able to use my drafts branch to build tcc and cross out of tree with all tests passing and the output executables working as expected, either on windows or linux, either in msys2-32/64 env using the native (gcc) compiler or msys1 env (using tcc0.26-32 for windows as the compiler and tiny_libmaker.exe as AR).

I've updated it today (pushed to the drafts branch already) and added one commit which reverts a win32 specific stuff at the tests/Makefile (my earlier consolidations made it unneeded), and it now _seems_ to work again as expected (was able to build using msys2 (gcc) or msys[1] (tcc.exe) and all the tests pass). But I didn't test it extensively.

If you wish to test the version which got some more testing by me, you can try the branch "snapshot-drafts-2015-12-17"

Hope it helps.

PS.
I wanted to push some/all of the commits on my "drafts" branch to mob after some cleanups, but never really got to end up doing it. If there's enough interest and my current drafts branc ends up usable for many, I'll reconsider putting the effort.


On Saturday, May 14, 2016 4:57 PM, Chris Marshall <address@hidden> wrote:


As someone whose primary development environment is cygwin/win7, I would
love for tcc to build and run under cygwin.


--Chris


On 5/14/2016 03:24, Sergey Korshunoff wrote:
> MSYS2 is current environment for Qt and other software development on
> Windows. It is a mingw+cygwin with a package manager (pacman), ported
> from ARCH Linux. MSYS2 allow to build
> mingw32/mingw64/cygwin32/cygwin64 programs in unix-like environment.
> Currenly tcc can not be build on this environment (mix of unix and
> windows). I think a system name (uname output) is needed to
> select/reject some code in sources of the tcc.
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel



_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel



reply via email to

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