public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Building egcs1.1.2
@ 2000-04-16 20:52 Iain Wiseman
  2000-04-16 21:24 ` Chris Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Iain Wiseman @ 2000-04-16 20:52 UTC (permalink / raw)
  To: Insight

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building egcs1.1.2
  2000-04-16 20:52 Building egcs1.1.2 Iain Wiseman
@ 2000-04-16 21:24 ` Chris Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Faylor @ 2000-04-16 21:24 UTC (permalink / raw)
  To: Iain Wiseman; +Cc: Insight

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-16 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-16 20:52 Building egcs1.1.2 Iain Wiseman
2000-04-16 21:24 ` Chris Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).