This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Hi...How to configure to get Sys file ?


Hi,
We are to trying to  build gcc source tree with  arm compiler.For we
gave configure options as

CC=/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armcc
RANLIB=/root/ARM_builds/dist_118_linux-pentium/RVCT/Data/2.2/453/lib
AR=/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armar
LD=/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armlink
AS=/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armasm
../gcc-4.0.0/configure --target=arm-linux --host=arm-linux
--build=i686-rehat-linux   --enable-languages=c
--with-sysroot=/usr/lib/bcc/include/

But we are not able to do it.It is giving the fallowing error message :

"../../gcc-4.0.0/intl/dcgettext.c", line 47: Warning:  #1294-D:
Old-style function libintl_dcgettext
 DCGETTEXT (domainname, msgid, category)
 ^
../../gcc-4.0.0/intl/dcgettext.c: 2 warnings, 0 errors
/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armcc
-c  -g -O2  -DHAVE_C"../../gcc-4.0.0/intl/dcgettext.c", line 47:
Warning:  #1294-D: Old-style function libintl_dcgettext
 DCGETTEXT (domainname, msgid, category)
 ^
../../gcc-4.0.0/intl/dcgettext.c: 2 warnings, 0 errors
/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armcc
-c  -g -O2  -DHAVE_CONFIG_H  -I. -I../../gcc-4.0.0/intl
../../gcc-4.0.0/intl/dgettext.c
"../../gcc-4.0.0/intl/gettextP.h", line 71: Warning:  #1294-D:
Old-style function SWAP
 SWAP (i)
 ^
"../../gcc-4.0.0/intl/dgettext.c", line 49: Warning:  #1294-D:
Old-style function libintl_dgettext
 DGETTEXT (domainname, msgid)
 ^
../../gcc-4.0.0/intl/dgettext.c: 2 warnings, 0 errors
/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armcc
-c  -g -O2  -DHAVE_CONFIG_H  -I. -I../../gcc-4.0.0/intl
../../gcc-4.0.0/intl/gettext.c
"../../gcc-4.0.0/intl/gettextP.h", line 71: Warning:  #1294-D:
Old-style function SWAP
 SWAP (i)
 ^
"../../gcc-4.0.0/intl/gettext.c", line 55: Warning:  #1294-D:
Old-style function libintl_gettext
 GETTEXT (msgid)
 ^
../../gcc-4.0.0/intl/gettext.c: 2 warnings, 0 errors
/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armcc
-c  -g -O2  -DHAVE_CONFIG_H  -I. -I../../gcc-4.0.0/intl
../../gcc-4.0.0/intl/finddomain.c
"../../gcc-4.0.0/intl/finddomain.c", line 25: Error:  #5: cannot open
source input file "sys/types.h": No such file or directory
 #include <sys/types.h>
                       ^
make[1]: *** [finddomain.o] Error 1
make[1]: Leaving directory `/root/venkat/objdr/intl'
make: *** [all-intl] Error 2
ONFIG_H  -I. -I../../gcc-4.0.0/intl ../../gcc-4.0.0/intl/dgettext.c
"../../gcc-4.0.0/intl/gettextP.h", line 71: Warning:  #1294-D:
Old-style function SWAP
 SWAP (i)
 ^
"../../gcc-4.0.0/intl/dgettext.c", line 49: Warning:  #1294-D:
Old-style function libintl_dgettext
 DGETTEXT (domainname, msgid)
 ^
../../gcc-4.0.0/intl/dgettext.c: 2 warnings, 0 errors
/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armcc
-c  -g -O2  -DHAVE_CONFIG_H  -I. -I../../gcc-4.0.0/intl
../../gcc-4.0.0/intl/gettext.c
"../../gcc-4.0.0/intl/gettextP.h", line 71: Warning:  #1294-D:
Old-style function SWAP
 SWAP (i)
 ^
"../../gcc-4.0.0/intl/gettext.c", line 55: Warning:  #1294-D:
Old-style function libintl_gettext
 GETTEXT (msgid)
 ^
../../gcc-4.0.0/intl/gettext.c: 2 warnings, 0 errors
/root/ARM_builds/dist_118_linux-pentium/RVCT/Programs/2.2/453/linux-pentium/armcc
-c  -g -O2  -DHAVE_CONFIG_H  -I. -I../../gcc-4.0.0/intl
../../gcc-4.0.0/intl/finddomain.c
"../../gcc-4.0.0/intl/finddomain.c", line 25: Error:  #5: cannot open
source input file "sys/types.h": No such file or directory
 #include <sys/types.h>
                       ^
make[1]: *** [finddomain.o] Error 1
make[1]: Leaving directory `/root/venkat/objdr/intl'
make: *** [all-intl] Error 2

I think we are not able to generate the SYS files...
Could you please let me know is there any option to configure this ?

Many Thanks,
Venkat.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]