tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] win64 cross now sort of works


From: Henry Kroll
Subject: [Tinycc-devel] win64 cross now sort of works
Date: Tue, 30 Nov 2010 15:51:24 -0800

Todays mob push gets x86_64-win32-tcc working on Linux.

$ x86_64-win32-tcc hello_win.c
tested: works on 64 bit windows and 64 bit wine!
$ wine64 hello_win.exe (works!)

--enable-cross now installs x86_64-win32-tcc and i386-win32-tcc
installs 3 versions of libtcc1.a with different names:

/usr/lib64/[TCCDIR]/libtcc1.a
/usr/lib64/[TCCDIR]/lib/libtcc1-win64.a
/usr/lib64/[TCCDIR]/lib/libtcc1-win32.a

There are a couple of fixme's with the 64 bit cross-compiler.

$ x86_64-win32-tcc hello_alloca.c
$ wine64 hello_alloca.exe
fixme:msvcrt:_controlfp :Not Implemented!
Segmentation fault (core dumped)

fixme: I can not make alloca work with x86_64-win32-tcc :(
Other than that it seems to make valid win64 executables.





reply via email to

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