This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Cross-compiler for "i386-pc-linux-gnu" on WIN-NT thru Cygwin


Hi Everybody,
A very-very happy new year to all of you.
It will be appreciated if you can look into my problem.
Actually I am Installing cross compiler for i386-pc-linux-gnu on WIN-NT thru
Cygwin.
 while building GCC i am getting the following error:
 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  /cygdrive/d/cyg_i386_install/cbuild-i386-gcc-2.95.2/gcc/xgcc
-B/cygdrive/d/cyg_i386_install/cbuild-i386-gcc-2.95.2/gcc/ -B/
cygdrive/d/cyg_i386_install/cinstall_i386/i386-pc-linux-gnu/bin/ -c -g -O2
-fvtable-thunks -D_GNU_SOURCE -fno-implicit-templa
tes -I. -I../../../gcc-2.95.2/libio -nostdinc++ -I/usr/include
-D_IO_MTSAFE_IO  ../../../gcc-2.95.2/libio/stdstrbufs.cc -o pi
c/stdstrbufs.o
/cygdrive/d/cyg_i386_install/cbuild-i386-gcc-2.95.2/gcc/xgcc
-B/cygdrive/d/cyg_i386_install/cbuild-i386-gcc-2.95.2/gcc/ -B/cy
gdrive/d/cyg_i386_install/cinstall_i386/i386-pc-linux-gnu/bin/ -c -g -O2
-fvtable-thunks -D_GNU_SOURCE -fno-implicit-template
s -I. -I../../../gcc-2.95.2/libio -nostdinc++ -I/usr/include -D_IO_MTSAFE_IO
../../../gcc-2.95.2/libio/stdstrbufs.cc
../../../gcc-2.95.2/libio/stdstrbufs.cc:67: syntax error before `='
../../../gcc-2.95.2/libio/stdstrbufs.cc:67: `_IO_stdfile_0_lock' was not
declared in this scope
../../../gcc-2.95.2/libio/stdstrbufs.cc:67: excess elements in aggregate
initializer
../../../gcc-2.95.2/libio/stdstrbufs.cc:68: syntax error before `='
../../../gcc-2.95.2/libio/stdstrbufs.cc:68: `_IO_stdfile_1_lock' was not
declared in this scope
../../../gcc-2.95.2/libio/stdstrbufs.cc:68: excess elements in aggregate
initializer
../../../gcc-2.95.2/libio/stdstrbufs.cc:69: syntax error before `='
../../../gcc-2.95.2/libio/stdstrbufs.cc:70: `_IO_stdfile_2_lock' was not
declared in this scope
../../../gcc-2.95.2/libio/stdstrbufs.cc:70: excess elements in aggregate
initializer
../../../gcc-2.95.2/libio/stdstrbufs.cc:121: syntax error before `='
../../../gcc-2.95.2/libio/stdstrbufs.cc:121: `_IO_stdfile_0_lock' was not
declared in this scope
../../../gcc-2.95.2/libio/stdstrbufs.cc:121: excess elements in aggregate
initializer
../../../gcc-2.95.2/libio/stdstrbufs.cc:122: syntax error before `='
../../../gcc-2.95.2/libio/stdstrbufs.cc:122: `_IO_stdfile_1_lock' was not
declared in this scope
../../../gcc-2.95.2/libio/stdstrbufs.cc:122: excess elements in aggregate
initializer
../../../gcc-2.95.2/libio/stdstrbufs.cc:123: syntax error before `='
../../../gcc-2.95.2/libio/stdstrbufs.cc:123: `_IO_stdfile_2_lock' was not
declared in this scope
../../../gcc-2.95.2/libio/stdstrbufs.cc:123: excess elements in aggregate
initializer
make: *** [stdstrbufs.o] Error 1 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
when I comment the
MT_CFLAGS = -D_IO_MTSAFE_IO flag in MAPFILE present in /gcc-2.95.2/libio
directory, it builds without any error.
 
1) Is it safe to comment this flag ??
2) If not what is the solution for the above problem ??
 
Do I need to install GLIBC ?
Also when I try to configure glibc-2.2.4 for "i386-pc-linux-gnu" it says  
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
bash-2.03$ ../glibc-2.2.4/configure --target=i386-pc-out
--prefix=../cinstall 2>&1 | tee myconfig.log
loading cache ./config.cache
checking host system type...  i686-pc-cygwin 
 *** The GNU C library is currently not available for this platform.
*** So far nobody cared to port it and if there is no volunteer it
*** might never happen.  So, if you have interest to see glibc on
*** this platform visit
***     http://www.gnu.org/software/libc/porting.html
*** and join the group of porters
 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>
 
Again it will be a great help for me if any solution to the above problem is
reflected.
Manoj
 
 
 
 

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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