Compiling GCC for WinCE in Cygwin

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
hamster

Compiling GCC for WinCE in Cygwin

Postby hamster » 09 Oct 2005 22:03

Hi, I compiled binutils for WinCE in Cygwin ok, but when I try to compile 'gcc-4.0.0-cvs+wince-diff.tar.bz2', in the libstdc++-v3 configuration part, I get the follow error that I never saw before and I don't know how to solve this... please, help me! I'm very interested in GCC 4.0 for WinCE because it's faster than Embedded VC (isn't it?)

Thanks!

Checking multilib configuration...
multilib.out is unchanged
Configuring in arm-wince-pe/libstdc++-v3
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: loading cache ./config.cache
...
blah, blah, blah...
...
checking for extra compiler flags for building...
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
checking for sys/types.h... (cached) no
checking locale.h usability... no
checking locale.h presence... no
checking for locale.h... no
checking float.h usability... no
checking float.h presence... yes
configure: WARNING: float.h: present but cannot be compiled
configure: WARNING: float.h: check for missing prerequisite headers?
configure: WARNING: float.h: see the Autoconf documentation
configure: WARNING: float.h: section "Present But Cannot Be Compiled"
configure: WARNING: float.h: proceeding with the preprocessor's result
configure: WARNING: float.h: in the future, the compiler will take precedence
configure: WARNING: ## ----------------------------------------- ##
configure: WARNING: ## Report this to the package-unused lists. ##
configure: WARNING: ## ----------------------------------------- ##
checking for float.h... yes
[b]checking for main in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.[/b]
make: *** [configure-target-libstdc++-v3] Error 1

DanBrwn
Blank Cone
Blank Cone
Posts: 52
Joined: 08 Sep 2005 16:46
Location: Alabama, USA

Postby DanBrwn » 10 Oct 2005 15:36

I am not sure that you can compile this under cygwin. I was going to try the same but could find no instructions that implied you could. I have ended up setting up a linux box but still can not get it built.

coder
New Cone
New Cone
Posts: 8
Joined: 17 May 2005 14:00

Postby coder » 01 Dec 2005 00:46

You don't need cygwin for cross compile the wince toolchain from vlc works fine under linux. VMWare is to the rescue if you don't need to remove Windows. I've done it succsefully with a minimal Slackware setup.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 31 guests