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: Timo VJ Lähde
Subject: Re: [Tinycc-devel] arm-pe-tcc crosscompiler
Date: Tue, 20 Apr 2010 10:38:37 +0300

Here is coredll.lst with ordinal numbers for example.
File is not sorted yet.

-- Timppa

----- Original Message ----- From: "Daemon Magic" <address@hidden>
To: <address@hidden>
Sent: Tuesday, April 20, 2010 2:04 AM
Subject: Re: [Tinycc-devel] arm-pe-tcc crosscompiler


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




--------------------------------------------------------------------------------


_______________________________________________
Tinycc-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Attachment: coredll.lst
Description: Binary data


reply via email to

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