FW: Problem building cross compiler gcc-4.0.3 for ARM using CYGWIN in Windows2000

Kanwal Preet Singh CHANANA kanwalpreet.singh@st.com
Tue May 30 07:17:00 GMT 2006


Hi,

Following are the paths of the build directories:

Root: 	/cygdrive/c/build
Binutils: 	/cygdrive/c/build/build-binutils/binutils-2.16
Gcc: 		/cygdrive/c/build/build-gcc/gcc-4.0.3
Newlib:	/cygdrive/c/build/build-newlib/newlib-1.14.0

$TARGET=arm-elf
$PREFIX="/cygdrive/c/build/Build"

I havent used -isystem option.Kindly suggest to solve this problem.

Regards,
Kanwal



-----Original Message-----
From: Kai Ruottu [mailto:karuottu@mbnet.fi] 
Sent: Tuesday, May 30, 2006 12:43 PM
To: Kanwal Preet Singh CHANANA
Cc: gcc-help@gcc.gnu.org
Subject: Re: FW: Problem building cross compiler gcc-4.0.3 for ARM using CYGWIN in Windows2000


Kanwal Preet Singh CHANANA wrote :

 > /cygdrive/c/build/build-gcc/gcc/xgcc

> -B/cygdrive/c/build/build-gcc/gcc/
> -B/cygdrive/c/build/Build/arm-elf/bin/
> -B/cygdrive/c/build/Build/arm-elf/lib/
> -isystem /cygdrive/c/build/Build/arm-elf/include
> -isystem /cygdrive/c/build/Build/arm-elf/sys-include
>
> My config options is as below:
> $ ./gcc4.0.3/configure --target=$TARGET --prefix=$PREFIX


 Are these values in sync with what your LOG told?
That $TARGET="arm-elf" and $PREFIX="/cygdrive/c/build/Build" ?

 Those '-isystem' options should take care that the target headers will be found in the '$PREFIX/$TARGET/*include'.




More information about the Gcc-help mailing list