tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] arm-pe-tcc crosscompiler


From: Daemon Magic
Subject: Re: [Tinycc-devel] arm-pe-tcc crosscompiler
Date: Tue, 20 Apr 2010 02:04:38 +0300

That's the file I've generated from I don't really know which version
of windows mobile I've dumped some time ago (coredll.dll, file
size:615424). May be helpful. AFAIK, older winmobile versions doesn't
provide named exports, thus applications imports those by ordinals.

GreetZ.


2010/4/19 Timo VJ Lähde <address@hidden>:
> 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 mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>

Attachment: coredll.zip
Description: Zip archive


reply via email to

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