Building egcs1.1.2

Iain Wiseman iwiseman@g8labs.co.nz
Sun Apr 16 20:52:00 GMT 2000


Hi am new to insight and would dearly love to build

dev-src.tar.gz on windows

I installed B20.1 and tried to build gdb and it failed to build due to
_ctype_ not being exported from libtermcap

I then decided to download gcc-2.95.2 and build. I got

\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:47: parse error
before `,'


I then decided to download egcs1.1.2 and build. I got

In file included from /usr/local/egcs-1.1.2/gcc/objc/hash.c:31:
/usr/local/egcs-1.1.2/gcc/objc/runtime.h:31: stdio.h: No such file or
directory
/usr/local/egcs-1.1.2/gcc/objc/runtime.h:32: ctype.h: No such file or
directory

To build these after installing B20.1 I did -:

mkdir -P /home/iwiseman/dev/src/egcs1.1.2
cd /home/iwiseman/dev/src/dev-src
/usr/local/egcs1.1.2/configure
make

So, am I going about this the right way ?
Will this ever build on WINNT ?
Is the a CVS repository I could have read access to with a working source ?
How do you install snapshots ? Extract to H-i586-cygwin32 or do you merge
i586-cygwin32 with i686-pc-cygwin

Many thanks to anyone who replies. I realize this is a monstrous task but
hey once build I can spread the good word.

Below is a more detailed output of my build attempt

compiling gcc-2.95.2 I got - :



c++ -c -g -O2 -fno-implicit-templates -I/usr/local/gcc-2.95.2/libstdc++ -I/u
sr/local/gcc-2.95.2/li
bstdc++/stl -I../libio -I/usr/local/gcc-2.95.2/libstdc++/../libio -nostdinc+
+   /usr/local/gcc-2.95.
2/libstdc++/valarray.cc -o pic/valarray.o
c++ -c -g -O2 -fno-implicit-templates -I/usr/local/gcc-2.95.2/libstdc++ -I/u
sr/local/gcc-2.95.2/libs
tdc++/stl -I../libio -I/usr/local/gcc-2.95.2/libstdc++/../libio -nostdinc++
/usr/local/gcc-2.95.2/l
ibstdc++/valarray.cc
In file included from
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/std_valarray.h:112,
                 from /usr/local/gcc-2.95.2/libstdc++/valarray.cc:1:
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:47: parse error
before `,'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:53: parse error
before `,'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:55: redefinition
of `template <class _Tp>
void __valarray_fill(...)'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:48: `template
<class _Tp> void __valarray_
fill(...)' previously declared here
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:60: parse error
before `,'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:62: redefinition
of `template <class _Tp>
void __valarray_fill(...)'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:48: `template
<class _Tp> void __valarray_
fill(...)' previously declared here
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:67: parse error
before `,'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:74: parse error
before `,'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:76: redefinition
of `template <class _Tp>
void __valarray_copy(...)'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:69: `template
<class _Tp> void __valarray_
copy(...)' previously declared here
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:81: parse error
before `,'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:83: redefinition
of `template <class _Tp>
void __valarray_copy(...)'
\\usr\\local\\gcc-2.95.2\\libstdc++\\std/valarray_array.h:69: `template
<class _Tp> void __valarray_

compiling egcs1.1.2 I got - :

rm -f tmp-runtime
//F/cygnus/cygwin-b20/H-i586-cygwin32/home/iwiseman/dev/egcs-1.1.2/gcc/xgcc 
-B//F/cygnus/cygwin-b20/
H-i586-cygwin32/home/iwiseman/dev/egcs-1.1.2/gcc/  -DIN_GCC    -g -O2 -I./in
clude  -I. -I/usr/local/
egcs-1.1.2/gcc -I/usr/local/egcs-1.1.2/gcc/config \
-c /usr/local/egcs-1.1.2/gcc/objc/hash.c -o objc/hash.o
In file included from /usr/local/egcs-1.1.2/gcc/objc/hash.c:31:
/usr/local/egcs-1.1.2/gcc/objc/runtime.h:31: stdio.h: No such file or
directory
/usr/local/egcs-1.1.2/gcc/objc/runtime.h:32: ctype.h: No such file or
directory
In file included from /usr/local/egcs-1.1.2/gcc/objc/runtime.h:38,
                 from /usr/local/egcs-1.1.2/gcc/objc/hash.c:31:
.\include\objc/objc-api.h:33: stdio.h: No such file or directory
make[1]: *** [objc/hash.o] Error 1

------------------------------------------------------------
Is your argument so weak that it cannot stand debate - Data

"Most Toys -STNG"

mailto:bibble@ibm.net




More information about the Insight mailing list