The "pe" in the compiler name suggests you're using an older version of
our toolset. I've just uploaded a new but experimental RPM to
 http://danny.backx.info/download/cegcc-cegcc-0.14-1.i586.rpm

If you are on an RPM based Linux system, can you try whether this works
for you ?

        Danny

On Mon, 2007-05-28 at 13:01 +1000, James Takac wrote:
> Hi guys
> 
> Just tried the following on my linux laptop
> 
> dialog.c is
> 
> #include <windows.h>
> 
> int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, 
> int nCmdShow)
> {
>           MessageBoxW(0, L"HELLO!", L"H3LLO!", 0);
> }
> 
> 
> I compiled with
> 
> arm-wince-pe-gcc -o dialog.exe dialog.c
> 
> as per example. However I end up with the error
> 
> dialog.c:1:21: windows.h: No such file or directory
> dialog.c:3: error: parse error before "hInstance"
> 
> Any ideas as to what I'm doing wrong? Do I need to have the include 
> directories in a certain place? Or can I use those from mingw32, kdevelop, 
> etc
> 
> James
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Cegcc-devel mailing list
> Cegcc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to