[vlc] Re: Pocket PC Install
Gildas Bazin
gbazin at altern.org
Tue May 17 22:41:51 CEST 2005
On Tuesday 17 May 2005 16:21, James MacLean wrote:
>
> In the mean time, just for fun :). I downloaded the cross-compile tools
> from http://download.videolan.org/pub/testing/wince/ and proved that
> building it myself still gives the same error :).
>
> JES
>
Ah, so you should be able to do 1 or 2 tests to trace the problem :)
Could you create a small test application (test.c):
int MessageBoxW( void *, char *, char *, unsigned int );
int WinMain( void *hInstance, void *hPrevInstance, char *lpCmdLine, int
nCmdShow )
{
MessageBoxW(0, L"hello", L"hello", 0);
return 0;
}
You should be able to compile it with:
"PATH=/usr/local/wince/cross-tools/bin:$PATH arm-wince-pe-gcc test.c -o
test.exe -e WinMainCRTStartup"
Can you try to run the resulting application ?
Could you also try to run the same application compiled with:
"PATH=/usr/local/wince/cross-tools/bin:$PATH arm-wince-pe-gcc test.c -o
test.exe -e WinMainCRTStartup
-Wl,--major-subsystem-version=4,--minor-subsystem-version=20,--major-image-version=0"
--
Gildas
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list