Compiling GCC for WinCE in Cygwin
Posted: 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
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