[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] arm-pe-tcc crosscompiler
From: |
Timo VJ Lähde |
Subject: |
[Tinycc-devel] arm-pe-tcc crosscompiler |
Date: |
Mon, 19 Apr 2010 18:41:40 +0300 |
With latest mob you can try this in win32:
gcc -Os -fno-strict-aliasing ../tcc.c -o arm-pe-tcc.exe -s -DTCC_TARGET_ARM
arm-pe-tcc.exe -nostdlib MsgBoxCE.c -lcoredll
------------------------------------------------------
// MsgBoxCE.c
void _start(void)
{
MessageBoxW(0, "T\0e\0s\0t\0A\0R\0M\0\0", "T\0e\0s\0t\0\0", 0);
//MessageBoxW(0, 0, 0, 0);
ExitThread();
}
------------------------------------------------------
You need to find coredll.def for that.
Here is an example
------------------------------------------------------
LIBRARY COREDLL
EXPORTS
ExitThread
MessageBeep
MessageBoxW
------------------------------------------------------
-- Timppa
- [Tinycc-devel] arm-pe-tcc crosscompiler,
Timo VJ Lähde <=