armxscale cross compiler build under cygwin

Nils Roeder nils.roeder@gmail.com
Sat May 27 14:57:00 GMT 2006


Khem Raj wrote:

 >whatever name the installation of cross binutils have on cygwin and it 
 >should be in your path.

Thanks Khem. I managed to resolve the problem by adjusting my PATH 
variable correctly :
PATH=$PRJROOT/bin:$PATH instead of
PATH=$PRJROOT/bin:$PRJROOT/$TARGET/bin:$PATH

However, now i am getting the same error as with crosstools-0.42
(see my other posting).

Configuring in arm-xscale-linux-gnu/libiberty
[snip working compiler/autoconf output]
checking for sys/file.h... no
checking for sys/param.h... no
checking for limits.h... yes
checking for stdlib.h... no
checking for malloc.h... no
checking for string.h... no
checking for unistd.h... no
checking for strings.h... no
checking for sys/time.h... no
checking for time.h... no
checking for sys/resource.h... no
checking for sys/stat.h... no
checking for sys/mman.h... no
checking for fcntl.h... no
checking for alloca.h... no
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for stdint.h... no
checking for stdio_ext.h... no
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... no
checking whether errno must be declared... yes
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... (cached) no
checking for stdlib.h... (cached) no
checking for string.h... (cached) no
checking for memory.h... no
checking for strings.h... (cached) no
checking for inttypes.h... no
checking for stdint.h... (cached) no
checking for unistd.h... (cached) no
checking for int... no
checking size of int... 0
checking for uintptr_t... no
checking for a 64-bit type... unsigned long long
checking for pid_t... no
checking for working strncmp... no
updating cache ./config.cache
[snip rest of normal configure]
../../../gcc-4.0.3/libiberty/regex.c:57:25: error: sys/types.h: No such 
file or directory
../../../gcc-4.0.3/libiberty/regex.c:136: warning: conflicting types for 
built-in function 'malloc'
../../../gcc-4.0.3/libiberty/regex.c:164:25: error: strings.h: No such 
file or directory
In file included from ../../../gcc-4.0.3/libiberty/../include/xregex.h:26,
                  from ../../../gcc-4.0.3/libiberty/regex.c:199:
../../../gcc-4.0.3/libiberty/../include/xregex2.h:357: error: syntax 
error before 'size_t'
../../../gcc-4.0.3/libiberty/../include/xregex2.h:357: warning: no 
semicolon at end of struct or union
../../../gcc-4.0.3/libiberty/../include/xregex2.h:364: error: syntax 
error before ':' token
[snip lots of similiar errors related to missing headers]
../../../gcc-4.0.3/libiberty/regex.c:8244: error: dereferencing pointer 
to incomplete type
make[2]: *** [regex.o] Error 1
make[2]: Leaving directory 
`/home/nils/workspace/build/gcc-build-bootstrap/arm-xscale-linux-gnu/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/home/nils/workspace/build/gcc-build-bootstrap'

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list