[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Add wine support
From: |
Christian Jullien |
Subject: |
Re: [Tinycc-devel] Add wine support |
Date: |
Fri, 25 Oct 2019 16:26:58 +0200 |
Speaking for cygwin Makefile, it is reproducible build where the 32/64 bits
versions and libs are build 3 times. The final 'stage3' version is built by
pure tcc Windows and msd5sum is exactly the same as pure tcc Windows made at
'stage2'.
I agree to say that Makefile is more or less a script.
Christian
-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=address@hidden] On
Behalf Of Michael Matz
Sent: Friday, October 25, 2019 15:30
To: Herman ten Brugge via Tinycc-devel
Cc: Herman ten Brugge
Subject: Re: [Tinycc-devel] Add wine support
Hello,
On Thu, 24 Oct 2019, Herman ten Brugge via Tinycc-devel wrote:
> I wanted to test how windows generated some code. I never use windows so I
> wanted to use wine.
>
> I copied the Makefile from 'https://sourceforge.net/projects/wintcc/' and
> adjusted it a little bit.
>
> Now I can use the windows version on linux with wine.
There's an IMO easier way without external makefiles:
% make cross-x86_64-win32
% make install
% x86_64-win32-tcc hello.c
% wine hello.exe
(without the install step you obviously need to add the library and
include paths explicitely:
% ./x86_64-win32-tcc -B. -Iwin32/include -Lwin32/lib -L. hello.c
)
Ciao,
Michael.
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel