cross compilation error..
Hi, I am compiling arm/wince compiler using cygwin, I have following error, could some one help me? error: '_U' was not declared in this scope Thanks Regards, Raj /home/basavaraj/cross-tools/gcc/wince/gcc/xgcc -shared-libgcc -B/home/basavaraj/ cross-tools/gcc/wince/gcc/ -nostdinc++ -L/home/basavaraj/cross-tools/gcc/wince/a rm-wince-pe/libstdc++-v3/src -L/home/basavaraj/cross-tools/gcc/wince/arm-wince-p e/libstdc++-v3/src/.libs -B/usr/local/wince/cross-tools/arm-wince-pe/bin/ -B/usr /local/wince/cross-tools/arm-wince-pe/lib/ -isystem /usr/local/wince/cross-tools /arm-wince-pe/include -isystem /usr/local/wince/cross-tools/arm-wince-pe/sys-inc lude -I/home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/a rm-wince-pe -I/home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/in clude -I/home/basavaraj/cross-tools/gcc/libstdc++-v3/libsupc++ -g -O2 -fno-impli cit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-locat ion=once -c ../../../../libstdc++-v3/src/codecvt.cc -o codecvt.o /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:46: error: '_U' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:47: error: '_L' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:48: error: '_U' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:48: error: '_L' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:49: error: '_N' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:50: error: '_X' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:50: error: '_N' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:51: error: '_S' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:52: error: '_P' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:52: error: '_U' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:52: error: '_L' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:52: error: '_N' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:52: error: '_B' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:53: error: '_P' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:53: error: '_U' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:53: error: '_L' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:53: error: '_N' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:54: error: '_C' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:55: error: '_P' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:56: error: '_U' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:56: error: '_L' was not declared in this scope /home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/libstdc++-v3/include/arm-winc e-pe/bits/ctype_base.h:56: error: '_N' was not declared in this scope make[3]: *** [codecvt.lo] Error 1 make[3]: Leaving directory `/home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/l ibstdc++-v3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/l ibstdc++-v3' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/basavaraj/cross-tools/gcc/wince/arm-wince-pe/l ibstdc++-v3' make: *** [all-target-libstdc++-v3] Error 2 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info:
compilation error using cygwin
Hi, I am compiling arm cross compiler using cygwin, I have following error. Could you advice, what I am missing in cygwin... Thanks in advance. Raj 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 checking for main in -lm... configure: error: Link tests are not allowed after G CC_NO_EXECUTABLES. make: *** [configure-target-libstdc++-v3] Error 1 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin problem with cross compiler
Hi, I am not able to compile Hello World program using this compiler in CygWin Environment, but I am able to compile in Redhat linux enviromnet. arm-wince-pe-gcc foo.c - does't work(/usr/local/wince/cross-tools/bin/arm-wince-pe-gcc: /usr/local/wince/cross-tools/ bin/arm-wince-pe-gcc: cannot execute binary file) Even if I type arm-wince-pe-gcc --v, it give cannot execute binary file. am I missing any packages from cygwin? I have installed win32api package as well. Thanks in advance. Raj __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Cygwin problem with cross compiler
Hi, Where can I get gcc source code, I want to cross compile it for Wince/ARM and related tools as well. Thanks in advance. Raj --- Dave Korn [EMAIL PROTECTED] wrote: On 01 March 2006 14:27, Basavaraj Hiremath wrote: Hi, I am not able to compile Hello World program using this compiler in CygWin Environment, but I am able to compile in Redhat linux enviromnet. arm-wince-pe-gcc foo.c - does't work(/usr/local/wince/cross-tools/bin/arm-wince-pe-gcc: /usr/local/wince/cross-tools/ bin/arm-wince-pe-gcc: cannot execute binary file) Even if I type arm-wince-pe-gcc --v, it give cannot execute binary file. am I missing any packages from cygwin? Cygwin doesn't actually let you run Linux executable binaries on windows directly, you have to recompile them from source code - cygwin's job is to make that step easy by providing all the headers and libs and function calls that Linux executables need to have provided in order to compile. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
compiler option
Hi, I am compiling a file(strerror.c) with following option -bash-2.05b$ arm-wince-pe-gcc -mcpu=xscale -c -ansi -D__stdcall= -D_OFF_T_ -DHA VE_CONFIG_H -I/usr/local/wince/cross-tools/include -I. -I./../include -W -Wal l -Wtraditional -pedantic ./strerror.c -o pic/strerror.o It's giving following compilation error /strerror.c:626: error: expected identifier or '(' before string constant /strerror.c:628: error: expected identifier or '(' before '{' token file strerror.c has following function char * strerror (errnoval) - line 626 int errnoval; {-- line 628 const char *msg; static char buf[32]; --- - } Could somebody tell me, what is the compiler option to go pass thru this kind of implementation? Thanks in advance Raj __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/