tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Add wine support


From: Michael Matz
Subject: Re: [Tinycc-devel] Add wine support
Date: Fri, 25 Oct 2019 13:30:26 +0000 (UTC)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

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.



reply via email to

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