[vlc] Re: Pocket PC Install
Gildas Bazin
gbazin at altern.org
Wed May 18 01:38:31 CEST 2005
On Tuesday 17 May 2005 22:13, James MacLean wrote:
> Gildas Bazin wrote:
>
> >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 :)
> >
> >
> >
> Anything I can do to help :).
>
> >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 ?
> >
> >
> >
> Runs fine. I appear to now know how to make a small program for the
> Pocket PC ;) Thanks.
>
> >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"
> >
> >
> >
> Doesn't run. Give the same error as vlc.exe :(.
>
Hmmm, I was actually expecting to see the opposite. That's really strange
cause VLC is built using the 1st set of options.
Could you maybe put some MessageBox() debug statements along src/vlc.c to
see how far the code gets executed (if it does get executed) ?
--
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