public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Iain Wiseman" <iwiseman@g8labs.co.nz>
To: "Insight" <insight@sourceware.cygnus.com>
Subject: Building egcs1.1.2
Date: Sun, 16 Apr 2000 20:52:00 -0000	[thread overview]
Message-ID: <KNEFKNCDGHCJGDAOBJEKOEDNCBAA.iwiseman@g8labs.co.nz> (raw)

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


             reply	other threads:[~2000-04-16 20:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-16 20:52 Iain Wiseman [this message]
2000-04-16 21:24 ` Chris Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=KNEFKNCDGHCJGDAOBJEKOEDNCBAA.iwiseman@g8labs.co.nz \
    --to=iwiseman@g8labs.co.nz \
    --cc=insight@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).