[vlc-devel] Cross-Compiling Error - C compiler cannot create executables

InfoEyes BJ infoeyes2010 at gmail.com
Mon Aug 16 04:56:41 CEST 2010


I find that it is caused by the arm-mingw32ce-gcc.

When I try arm-mingw32ce-gcc -o hello.exe helloworld.c, no hello.exe is
generated. I will check arm-mingw32ce-gcc.

2010/8/16 InfoEyes BJ <infoeyes2010 at gmail.com>

> with arm-mingw32ce-gcc, we also have:
>
> configure:4602: checking for arm-mingw32ce-gcc
> configure:4618: found /opt/mingw32ce/bin/arm-mingw32ce-gcc
> configure:4629: result: arm-mingw32ce-gcc
>
> configure:4898: checking for C compiler version
> configure:4907: arm-mingw32ce-gcc --version >&5
> configure:4918: $? = 0
> configure:4907: arm-mingw32ce-gcc -v >&5
> configure:4918: $? = 0
> configure:4907: arm-mingw32ce-gcc -V >&5
> configure:4918: $? = 0
> configure:4907: arm-mingw32ce-gcc -qversion >&5
> configure:4918: $? = 0
>
> configure:4938: checking whether the C compiler works
> configure:4960: arm-mingw32ce-gcc  -I/usr/wince/include -D_WIN32_WCE=0x0500
> -L/usr/wince/lib conftest.c  >&5
> configure:4964: $? = 0
>
> configure:5002: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "vlc"
> | #define PACKAGE_TARNAME "vlc"
> | #define PACKAGE_VERSION "1.2.0-git"
> | #define PACKAGE_STRING "vlc 1.2.0-git"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL ""
> | #define PACKAGE "vlc"
> | #define VERSION "1.2.0-git"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:5007: error: in `/home/administrator/dev/ce':
> configure:5011: error: C compiler cannot create executables
> See `config.log' for more details.
>
> The same problem as using the tool from
> http://www.videolan.org/pub/testing/wince/wince-arm-gcc4.0.0-cvs-linux-crosscompiler-20050517.tar.bz2
> .
>
> 2010/8/16 InfoEyes BJ <infoeyes2010 at gmail.com>
>
> Jean-Baptiste,
>>
>> Thanks for your reference.
>>
>> We also tried the one from the page http://wiki.videolan.org/WinCECompile
>>
>> However, we find the following script does not work.
>>
>> PATH=/opt/mingw32ce/bin:$PATH \
>> CPPFLAGS="-I/usr/wince/include -D_WIN32_WCE=0x0500" \
>> LDFLAGS="-L/usr/wince/lib" \
>> PKG_CONFIG_LIBDIR=/usr/wince/lib/pkgconfig \
>> ./configure --host=arm-mingw32ce --enable-optimize-memory \
>>
>>
>>             --disable-directx --disable-dvdnav --disable-libgcrypt \
>>             --disable-mad --disable-remoteosd --disable-sdl --disable-skins2
>>
>> BTW, the building environment is cygwin and we download mingw32ce for
>> cygwin.
>>
>>
>> 2010/8/16 Jean-Baptiste Kempf <jb at videolan.org>
>>
>> On Mon, Aug 16, 2010 at 12:37:27AM +0800, InfoEyes BJ wrote :
>>> > We are building WinCE vlc following the guide of INSTALL.wince.
>>>
>>> http://wiki.videolan.org/WinCECompile
>>>
>>> Best Regards,
>>>
>>> --
>>> Jean-Baptiste Kempf
>>> http://www.jbkempf.com/
>>> +33 672 704 734
>>> _______________________________________________
>>> vlc-devel mailing list
>>> To unsubscribe or modify your subscription options:
>>> http://mailman.videolan.org/listinfo/vlc-devel
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100816/6c65281f/attachment.html>


More information about the vlc-devel mailing list