public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling egcs-1.1.2
@ 2004-10-28 15:03 Ben Sewell
  0 siblings, 0 replies; only message in thread
From: Ben Sewell @ 2004-10-28 15:03 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Hi,

I've been attempting to compile egcs v1.1.2. I suspect all the version
information you need to know is:

============ version and configure info =============

~/egcs/egcs-1.1.2-obj % gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~/egcs/egcs-1.1.2-obj % ../egcs-1.1.2/configure
--prefix=../egcs-1.1.2-install --enable-shared 
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /users/bob/bjs2/egcs/egcs-1.1.2-obj using "mh-frag"
and "mt-frag"
./config.status is unchanged
Links are now set up to build a native compiler for i686-pc-linux-gnu



=========== problem ===================

When I run "make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap", as advised by
http://gcc.gnu.org/install/build.html, I get the error:

  /[host etc]/egcs/egcs-1.1.2-obj/gcc/xgcc -B/[host
etc]/egcs/egcs-1.1.2-obj/gcc/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I../../../egcs-1.1.2/libio -nostdinc++
-D_IO_MTSAFE_IO -fpic ../../../egcs-1.1.2/libio/indstream.cc -o
pic/indstream.o
../../../egcs-1.1.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekoff(streamoff, enum _seek_dir, int = 3)':
../../../egcs-1.1.2/libio/indstream.cc:82: `struct streampos' used where a
`int' was expected
../../../egcs-1.1.2/libio/indstream.cc:85: `struct streampos' used where a
`int' was expected
../../../egcs-1.1.2/libio/indstream.cc:87: `struct streampos' used where a
`int' was expected
../../../egcs-1.1.2/libio/indstream.cc:89: conversion from `int' to
non-scalar type `streampos' requested
../../../egcs-1.1.2/libio/indstream.cc: In method `struct streampos
indirectbuf::seekpos(struct streampos, int = 3)':
../../../egcs-1.1.2/libio/indstream.cc:99: `struct streampos' used where a
`int' was expected
../../../egcs-1.1.2/libio/indstream.cc:102: `struct streampos' used where a
`int' was expected
../../../egcs-1.1.2/libio/indstream.cc:104: `struct streampos' used where a
`int' was expected
../../../egcs-1.1.2/libio/indstream.cc:106: conversion from `int' to
non-scalar type `streampos' requested



Any ideas on why I get this error?

Cheers,
Ben Sewell

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-28 15:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-28 15:03 compiling egcs-1.1.2 Ben Sewell

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).