This is the mail archive of the insight@sourceware.cygnus.com mailing list for the Insight project.


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

Re: Building egcs1.1.2


I've suggested in private email that you send cygwin questions to the
cygwin mailing list.  The "parse error" below may be some problem in
insight but if you don't have a correctly set up build environment, then
everything is questionable.

The users at cygwin@sourceware.cygnus.com should be able to help you set
up your build environment.  Your problem is fairly common and you should
be able to find help just by searching the archives.

After that, if you still have problems building insight, check back
here.

FWIW, I would not suggest using an old version of egcs as a method for
solving your problem.

cgf

On Mon, Apr 17, 2000 at 03:51:29PM +1200, Iain Wiseman wrote:
>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
>
>

-- 
cgf@cygnus.com                        Cygnus Solutions, a Red Hat company
http://sourcware.cygnus.com/          http://www.redhat.com/

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