HDTenEightyP/NetNews huggingface dataset:
From: eranian@fructidor.ibp.fr (Stephane ERANIAN)
Subject: Problems compiling gcc2.3.1. on AIX3.2/RS6000 
Keywords: AIX, RS6000, GCC
Organization: UFR d'Informatique - Universite PARIS 7
Date: Tue, 10 Nov 1992 14:27:24 GMT

I am posting this news here, but I don't know if it is the right place.
Anyway, I 'm having problem with gcc2.3.1 compilation on our RS6000 running
AIX3.2
I followed the steps described in the INSTALL file.
% configure --target=rs6000-ibm-aix
Everthing is OK . Then I just type
% make LANGUAGES=c
After I while ( rather half an hour !!), I got the fllowinfg message : 
   .
   .
   .
   if [ -f libgcc2.ready ] ; then \
                        true; \
                else \
                        touch libgcc2.ready; \
                fi
        rm -f tmplibgcc2.a
        set -e; \
                for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2  _lshrdi3 _lshldi3
_ashldi3 _ashrdi3   _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf  _fixunsdfsi
_fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi  __gcc_bcmp _varargs _eprintf _builtin_new
_caps_New _builtin_del  _bb _shtab _clear_cache _trampoline __main _exit _ctors; \
                do \
                  echo ${name}; \
                  ./xgcc -B./ -O2  -DIN_GCC   -g  -g1 -I. -I. -I./config -c -DL${name} \
                      ./libgcc2.c -o ${name}.o; \
                  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
                  ar rc tmplibgcc2.a ${name}.o; \
                  rm -f ${name}.o; \
                done
_muldi3
Assembler:
/tmp/ccQ4wCzR.s: line 33: 1252-142 Syntax error.
make: 1254-004 The error code from the last command is 1.

Make Quitting.

What's wrong, please help !!!!!



Newsgroups: gnu.gcc.help
From: vtessier@vela.acs.oakland.edu (Vince Tessier)
Subject: Re: I keep getting "ld: Undefined symbol ___main" errors
Organization: Oakland University, Rochester MI.
Date: Mon, 9 Nov 1992 21:52:58 GMT

man@magwien.gv.at (Andreas Manessinger) writes:

>>>>>> On Sun, 8 Nov 1992 23:14:55 GMT, vtessier@vela.acs.oakland.edu (Vince Tessier) said:

> Vince> when I go to link the executable, I get a message of the form
> Vince> 	main.o(.text+4): undefined reference to `___main' 

>`_main' is a symbol from `libgcc.a' that is automatically linked,
>whenever you call `gcc' for linking.

My problem seems to be that libgcc.a *isn't* being linked in by gcc.
I'm mostly building the other gnu packages, and a typical link command
is of the form
	gcc -o foo bar.o zot.o quux.o
which fails with the above message.  This problem does not occur when
-- 
Vince Tessier	vtessier@vela.acs.oakland.edu

"Think global, act loco."  -- Zippy
Newsgroups: gnu.gcc.help
From: lott@informatik.uni-kl.DE (Christopher Lott AGSE)
Subject: Re: few questions about gcc 2.3.1 install
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 6 Nov 1992 09:41:36 GMT


In article <9211051454.aa05177@chanel.informatik.uni-kl.de> I write:
> ..some questions..

Thanks to botz@orixa.mtholyoke.edu and wwf@doe.carleton.ca I have
answers to most of my questions.  Hope these answers help someone.

 >1.  Where do the c++ header/include files come from?  I seem

They come from the libg++ distribution.

>2.  Should I be using gas and/or ld?   Benefits?

It's very easy to use the vendor-supplied assembler and loader. 
About the gnu assembler:  I still don't know.
About the gnu loader:     In our (Sun4) case, the sun loader does dynamic
linking, and judging from the notes in the GCC info file, the gnu loader will
not support this in the foreseeable future.  So we'll stick with sun ld.

>3.  The GNU C library (glibc-1.05) is intended for people who have no c
>    library available, correct?  Are there any benefits for folks like us? 

Correct.  Glibc has all ANSI-required lib functions and more, and comes with
a full set of ANSI headers with library function prototypes.  We don't *need*
it because we have the Sun lib, but some of the functions in the GNU libc
may be better and there's a real advantage to using headers with prototypes.

>4.  What is libgcc.a used for?  

libgcc.a contains a bunch of stuff used in linking objects created by GCC.  
There is more related info in the README.X11 that came with GCC.  There
does not seem to be anything in the Makefile to make a shared libgcc.a.
I am still not clear about the implications of this for dynamic linking.

chris...
From: janin@espresso.boeing.com (Adam Janin)
Newsgroups: gnu.gcc.help
Subject: Looking for FAQ (does gcc support templates, exceptions, etc)
Date: 4 Nov 92 19:27:41 GMT
Organization: Boeing Computer Services AI Center, Seattle

Sorry if this is a FAQ, but is there a FAQ for gcc/g++?  I looked on expo,
but didn't see anything promising.

I am specifically interested in the features supported by the lastest
version of g++ (gcc 2.3.1?).  How fully does it support templates?  Exceptions?
iostreams?  Does it compile interviews?


	Thanks,
	Adam Janin
	janin@espresso.boeing.com
Newsgroups: gnu.gcc.help
From: tmcconne@sedona.intel.com (Tom McConnell~)
Subject: Re: Gcc 2.3.1 and collect2 library paths
Originator: tmcconne@sedona
Organization: Intel Corporation
Date: Thu, 5 Nov 1992 19:56:17 GMT


In article <1d702iINNcg4@darkstar.UCSC.EDU>, paul@aztec.ucsc.edu (Paul Tatarsky) writes:
> With gcc2.2.2 using g++ one did not have to tell g++
> where libg++ was. Under gcc2.3.1 which I just installed
> it appears that g++ wants you to tell it where libg++ is
> with a -L. Is this true or did I screw up the install.
> 
  <stuff deleted>
> 
>  Paul Tatarsky         email: paul@cse.ucsc.edu
>  UC Santa Cruz
>  CIS/CE Board          
>  Technical Staff

  I have found the same problem for an RS/6000, AIX-3.1.6. I patched g++ and c++
as a work around, but from glancing at gcc.c, it looks like something is broken
in the add_prefix() function, used at line 3296.

  The simple (yet brain dead :) fix is to hard code the library in g++ and c++,
like this:

*** ./c++_orig	Thu Nov  5 07:02:18 1992
--- ./c++	Thu Nov  5 07:02:45 1992
***************
*** 25,29 ****
  quote=
  # $library is made empty to disable use of libg++.
! library=-lg++
  numargs=$#
  
--- 25,29 ----
  quote=
  # $library is made empty to disable use of libg++.
! library="-L/stor/gnu/aix/lib -lg++"
  numargs=$#
  

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-91     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Newsgroups: gnu.gcc.help
From: mikeh@ausom.oz.au (Mike Hamilton)
Subject: Pascal adaptation of gcc - where?
Date: Mon, 9 Nov 1992 15:37:53 GMT
Organization: AUSOM - The Apple Users Society of Melbourne
Keywords: gcc pascal

I once stumbled across an adaptation of gcc into Pascal, but I can't
remember the details; can anyone help?
 
If replying by email, please use the *full* address below.
 
Thanks,
 
Mike

-- 
| --------------------------------------------------
| Mike Hamilton (mikeh%ausom.oz@sol.cc.deakin.oz.au)
From: edx@cc.usu.edu
Newsgroups: gnu.gcc.help
Subject: Re: Problems compiling gcc2.3.1. on AIX3.2/RS6000
Date: 11 Nov 92 16:23:27 GMT
Organization: Utah State University

In article <1992Nov10.142724.24992@jussieu.fr>, eranian@fructidor.ibp.fr (Stephane ERANIAN) writes:
> I am posting this news here, but I don't know if it is the right place.
> Anyway, I 'm having problem with gcc2.3.1 compilation on our RS6000 running
> AIX3.2
> I followed the steps described in the INSTALL file.
> % configure --target=rs6000-ibm-aix
> Everthing is OK . Then I just type
> % make LANGUAGES=c
> After I while ( rather half an hour !!), I got the fllowinfg message : 
>    .
>    .
>    .
>    if [ -f libgcc2.ready ] ; then \
>                         true; \
>                 else \
>                         touch libgcc2.ready; \
>                 fi
>         rm -f tmplibgcc2.a
>         set -e; \
>                 for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2  _lshrdi3 _lshldi3
> _ashldi3 _ashrdi3   _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf  _fixunsdfsi
> _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi  __gcc_bcmp _varargs _eprintf _builtin_new
> _caps_New _builtin_del  _bb _shtab _clear_cache _trampoline __main _exit _ctors; \
>                 do \
>                   echo ${name}; \
>                   ./xgcc -B./ -O2  -DIN_GCC   -g  -g1 -I. -I. -I./config -c -DL${name} \
>                       ./libgcc2.c -o ${name}.o; \
>                   if [ $? -eq 0 ] ; then true; else exit 1; fi; \
>                   ar rc tmplibgcc2.a ${name}.o; \
>                   rm -f ${name}.o; \
>                 done
> _muldi3
> Assembler:
> /tmp/ccQ4wCzR.s: line 33: 1252-142 Syntax error.
> make: 1254-004 The error code from the last command is 1.
> 
> Make Quitting.
> 
> What's wrong, please help !!!!!
> 
> 
> 
I saw this behavior too.  Change the Makefile to compile things without
the -g and the -g1 debugging flags.  Then it will compile ok.
Newsgroups: gnu.gcc.help
From: jimlynch@netcom.com (Jim Lynch)
Subject: 68000 output from gcc
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 8 Nov 1992 11:38:30 GMT

Hi, do you have sources for gcc that will produce 68000 code?

Thanx,

Jim

Newsgroups: gnu.gcc.help
From: ruud@zuma.UUCP (Ruud Cox)
Subject: (none)
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 8 Nov 1992 21:09:02 GMT

Hai,

I've got one question about the GNU c compiler. I'm trying to
port gcc-2.2.1 to the Coherent operating system but I've got some
problems with it because there are some bugs in the Coherent c compiler
and I just don't know enough about a i386 system and the Coherent operating
system.

I'm wondering if somebody else ported it already and if I can get the
correct configuration files?

Thanks in advance,
Ruud Cox

Newsgroups: gnu.gcc.help
From: ejh@khonshu.colorado.edu (Edward J. Hartnett)
Subject: problems during stage3 test compilation
Organization: CIRES, University of Colorado
Date: 11 Nov 92 13:52:36


Hi, I'm trying to install gcc 2.3.1 on a Sun IPC running sunos 4.1.1

I was trying to redirect the output of my stage three make, but it
printed some messages to stderr and I missed them. Now when I run the
stage three it gives me the following:

[khonshu:/usr/local/gcc/gcc-2.3.1 ! ]# make CC="stage2/xgcc -Bstage2/" CFLAGS="
-g -O" LANGUAGES=c
if [ -f libgcc2.ready ] ; then \
        true; \
else \
        touch libgcc2.ready; \
fi
[khonshu:/usr/local/gcc/gcc-2.3.1 ! ]#

What can I do to run the stage 3 compile without starting all over
again with the tar file? If I delete libgcc3.ready, will that do the
trick? (As you can probably tell, I don't know much about shell
scripts). 

Also in the distribution directory I just found a script dostage3:

#!/bin/sh
make -k LANGUAGES=c $1 CC=stage2/xgcc XCFLAGS=-Bstage2/ CFLAGS="-g $2" >log3 2>&1

Sould I be using this? If I run it with no arguments will it do what I
want? 

Thanks,
	Ed
--
Edward Hartnett			ejh@khonshu.colorado.edu

Newsgroups: gnu.gcc.help
From: olsenc@carson.u.washington.edu (Clint Olsen)
Subject: Re: GCC with HPUX
Organization: University of Washington, Seattle
Date: Wed, 11 Nov 1992 19:31:57 GMT

Hello:

According to the INSTALL file included with gcc2.3.1, the instructions
still state that:

"the -g option will not work on HP-UX 8.0"

The only way to get around this they mentioned was to use the (--gas)?
option when compiling gcc.  This is not supported on anything other
than the HPPA architecture.

As I see it, the oddball HP, who just loves to do things its own way,
is keeping me from using a nice piece of software.

-----------------------------------------------------------------------
Clint Olsen 
olsenc@u.washington.edu
-----------------------------------------------------------------------
Newsgroups: gnu.gcc.help
From: naumoski@cs.ruu.nl (Goce Naumoski)
Subject: GCC question. HELP!
Date: Mon, 9 Nov 1992 12:42:38 GMT
Organization: Utrecht University, Dept. of Computer Science

Does GCC (e.g. 2.2.2) work under DOS and/or WINDOWS?
Replies by e-mail, please.

Thanks in advance,
Goce.

Newsgroups: gnu.gcc.help,gnu.misc.discuss
From: poulsen@sp91.csrd.uiuc.edu (David K. Poulsen)
Subject: Language frontends for gcc?
Organization: UIUC Center for Supercomputing Research and Development
Distribution: gnu
Date: Wed, 11 Nov 92 02:17:29 GMT

Someone mentioned to me that there was a project where someone was building
a Fortran compiler using the guts of gcc and a new frontend.  Not that I
personally endorse the use of Fortran, mind you :-)  Does anyone know if
this is true, who is doing it, where the code is available, etc.?

Along the same lines, what about Pascal?

Please copy me via email when you post responses.

Thanks for any information,

Dave Poulsen
poulsen@csrd.uiuc.edu
From: gnu@toad.com
Newsgroups: gnu.gcc.help
Subject: Re: can sun3/sun4 binutils2.0 share common archives?
Date: 4 Nov 92 18:01:33 GMT
Reply-To: gnu@cygnus.com
Distribution: gnu
Organization: GNUs Not Usenet

Binutils running on two different hosts should produce identical results
when producing object files for the same target.

Any differences that you find are bugs.  (There are a few known bugs
in the bottom bits of floating point constants generated by gcc,
because it uses the hosts's "atod" which differs on various host
systems.  This does not apply to binutils or gas though, only to gcc.)

	John Gilmore
	Cygnus Support
From: andrew@airs.com (Andrew Evans)
Newsgroups: gnu.gcc.help
Subject: GNU profiling tools for SCO UNIX & gcc?
Date: 5 Nov 92 21:35:07 GMT

Hello,

I'm having a lot of difficulty trying to use the prof program provided
by SCO in conjunction with gcc 1.39.  I occasionally see GNU gprof
mentioned around here, and I'm wondering if it or something similar
would work on my box.  I want to be able to do some profiling/analysis
of programs I've written and compiled using gcc.  Any pointers much
appreciated.  Thanks.
-- 
Andrew Evans (andrew@airs.com) - Infinity Development Systems - Waltham, MA
Newsgroups: gnu.gcc.help
From: sahul@loading-zone.Stanford.EDU (Zakir H. Sahul)
Subject: Function Prototyping Problem
Organization: Stanford University
Date: Sat, 14 Nov 92 04:02:07 GMT

I have the following problem with using the -Wmissing-prototypes flag:

o All my function prototypes are in header files
o When I have more than one such header file included in the .c file,
  gcc forgets the function prototypes declared in the earlier header files.

  For example:

  #include "function_decl.h"
  #include "memory_func_decl.h"

  main()
  {
   ...

  }

  makes gcc forget the prototypes that are in "function_decl.h".  It gives me a

	warning: no previous prototype for `FunctionName'
	
  But there is a prototype for it in the file "function_decl.h".  If I remove
  the second #include, it does not give me the warning.  

It has been completely frustrating to get this to work.  Could someone PLEASE 
point me in the right direction??

Thanks in advance for all replies.

-Zak
 (sahul@gloworm.stanford.edu)

  
Newsgroups: gnu.gcc.help
From: lott@informatik.uni-kl.DE (Christopher Lott AGSE)
Subject: few questions about gcc 2.3.1 install
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 5 Nov 1992 15:54:50 GMT


Hi,

I am mailing this to help-gcc@prep.ai.mit.edu; earlier today I
posted a message to newsgroup gnu.gcc.help but after reading
the "how to get help" in the gcc info file, that seems to be
wrong.   PLEASE pardon my stupidity if you see this twice.

Yesterday I fetched, compiled, and installed gcc v2.3.1 for our
sun4s running sunos 4.1.1.  I have a few questions which are
probably ridiculously simple for you folks, but the answers don't
seem obvious right now.

1.  Where do the c++ header/include files come from?  I seem
    to be lacking them.  For example, I need <stream.h> to compile
    even the simplest hello.C program.  Do I need to ftp something else?
    Did I overlook something in the documentation or is something
    actually missing?

2.  Should I be using gas?  Right now, the compiler uses just the
    standard system assembler.  Are the benefits worth my trouble?

3.  The GNU C library (glibc-1.05) is intended for people who have no c
    library available, correct?  Are there any benefits for folks like us? 

4.  What is the libgcc.a used for?  It was installed under
    /usr/local/lib/gcc-lib/sparc.../2.3.1 and is a collection
    of objects that can be used in static linking.  I'm asking
    because I wonder how this works with/against dynamic linking
    on our suns.

Thanks in advance for any and all help.  My apologies if I've
overlooked the answers in the INSTALL or the info files.

chris...
--
Christopher Lott    lott@informatik.uni-kl.de   +49 (631) 205-3334, -3331 Fax
Post: FB Informatik - Bau 57, Universitaet KL, W-6750 Kaiserslautern, Germany
Newsgroups: gnu.gcc.help
From: eks@daimi.aau.dk (Eigil Krogh S|rensen)
Subject: Best litterature about gcc ?
Keywords: how to use gcc-2.x.y, C++, C
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
Date: Wed, 11 Nov 92 19:25:48 GMT

Titles and editors of the best litterature about gcc-2.x.y wanted.

Litterature about gcc-2.3.y would be the best.

It should include how to use gcc-2.x.y, how to make programmes which uses all
the facilities in gcc-2.x.y, C and C++


--- Eigil
Lines: 12
Date: Tue, 10 Nov 92 10:35:14 MST
From: lee@bones.et.byu.edu (Bruce Lee)
Newsgroups: gnu.gcc.help
Distribution: world
Organization: Brigham Young University, Provo UT USA
Subject: GCC with HPUX



Has anyone written any patches for HPUX 8.0x systems?  I would
like to use gcc/g++ with gdb on somes 300/400 and 700/800 systems.
I understand that the hpxt utility no longer works with HPUX 8.0x.

Thanks :^)
-- 
Bruce Owen Lee				|"We will pay the price
Brigham Young University		| But we will not count the cost"
College of Engineering & Technology	|  
Email: lee@bones.et.byu.edu		|		-- RUSH --
From: melin@hlrz24.hlrz.kfa-juelich.de (Stephan Melin)
Newsgroups: gnu.gcc.help
Subject: gcc 2.3.1 on iPSC860
Date: 5 Nov 92 18:50:53 GMT
Organization: Forschungszentrum Juelich GmbH (KFA), Germany

Has anyone, ported gcc 2.3.1 onto the intel Hypercube?
I know that it is an i860 system running under sysvr3, 
I tried to make the crosscompiler on a Sun4, but somehow 
it never did work as expected...

All hints to solve this are welcome....

Regards
-- 
Stephan Melin

melin@hlrserv.hlrz.kfa-juelich.de   ||    hkf418@djukfa11.bitnet
Newsgroups: gnu.gcc.help
From: mob@think.com (Mario O. Bourgoin)
Subject: Extra instructions spuriously generated
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 11 Nov 1992 20:21:50 GMT


In trying to get to the bits of a floating point constant under GCC, I have
come up with casting it to the union of an unsigned and a float:

	((union {unsigned u; float f;}) (float) 3.1).u

This mercifully resolves to an immediate constant when compiled -O.
Unfortunately, the corresponding double cast:

	((union {unsigned u; double d;}) (double) 3.1).u

invariably results in the generation of four instructions to load both
parts of the double in a pair of registers, whether or not the second part
of the double is ever used.

In the best of all worlds, I would prefer that an immediate constant be
generated, but I would settle for just eliminating the useless load of the
second part of the double.  Could someone direct me on how to get GCC to do
this?

--Mario
From: root@steiny.com (Admin)
Newsgroups: gnu.gcc.help
Subject: Can't compile files including user structure
Date: 9 Nov 92 19:23:21 GMT
Distribution: gnu
Organization: Don Steiny Software


When I try to compile this I get an error message that seems to becoming
from the use of "struct ucontext."   I get the message in user.h.
I am running SVR4, but I ran the script to fix up the header files.
Does anyone out there have a clue?   Thanks.

#define	KERNEL
#include <sys/types.h>
#include <sys/signal.h>
#include <sys/param.h>
#include <sys/dir.h>
#include <sys/immu.h>
#include <sys/region.h>
#include <sys/ucontext.h>
#include <sys/errno.h>
#include <sys/tty.h>
#include <sys/sysmacros.h>
#include <sys/ppio.h>
#include <fcntl.h>
#include <sys/user.h>

main()
{
}
From: naw@planet.bt.co.uk (Ab Wilson)
Newsgroups: gnu.gcc.help
Subject: link with the xopen libraries on Sun4
Date: 11 Nov 92 21:03:07 GMT
Reply-To: naw@planet.bt.co.uk
Organization: BT Labs, Martlesham Heath, Ipswich, UK.


The UI for the project I'm working on is being developed by a separate
group using a Motif interface builder. This generates ansi C which I am
atempting to compile with gcc (2.2.2) and link with the core of the
application which is to be written in C++. 

The problem I have is that when I get to the link stage I get an
the error:
ld: Undefined symbol 
   __assert 
collect: /usr/bin/ld returned 2 exit status

Because the UI is Motif it use the xopen (/usr/xpg2lib on SunOS 4.1.1)
environment and this is what is causing the problem. (assert is called
from a function in libxpg.a). So I thought I'll give the -nostdlib
flag to gcc and see if that sorts it out. But instead I get:

ld: Undefined symbol
   _environ
collect: /usr/bin/ld returned 2 exit status

Does anyone know a solution to this problem.
	Ab.
-- 
+--------------------------------------------------------------------+
| Who's opinions did you say these were?    |    naw@planet.bt.co.uk |
+--------------------------------------------------------------------+
Newsgroups: gnu.gcc.help
From: man@magwien.gv.at (Andreas Manessinger)
Subject: Re: Problems compiling gcc2.3.1. on AIX3.2/RS6000 
Organization: Gemeinde Wien, MD-ADV/Md Ref. EPS
Date: Wed, 11 Nov 1992 21:27:59 GMT

>>>>> On 11 Nov 92 10:23:27 MDT, edx@cc.usu.edu said:

 edx> In article <1992Nov10.142724.24992@jussieu.fr>, eranian@fructidor.ibp.fr (Stephane ERANIAN) writes:
> _muldi3
> Assembler:
> /tmp/ccQ4wCzR.s: line 33: 1252-142 Syntax error.
> make: 1254-004 The error code from the last command is 1.
> 
> Make Quitting.
> 
> What's wrong, please help !!!!!
> 
> 
> 
 edx> I saw this behavior too.  Change the Makefile to compile things without
 edx> the -g and the -g1 debugging flags.  Then it will compile ok.

You have the wrong assembler, the one that IBM normally supplies. Read
the file `README.RS6000' from the gcc distribution for detailed
instructions. It worked for me.

--
    /\            | eMail: man@magwien.gv.at (Andreas Manessinger)
   /  \ndreas     | pMail: Alserstra"se. 20/6; A-1090 Wien; Austria
  /\/\ \          | Work : Gemeinde Wien MD-ADV/Ma; Ref. EPS
 / /  \anessinger | Phone: +43 222 4039584/13, FAX: 4039584/18, Home: 9350434
Newsgroups: gnu.gcc.help
From: ejh@khonshu.colorado.edu (Edward J. Hartnett)
Subject: problems during stage3 test compilation
Organization: CIRES, University of Colorado
Date: 11 Nov 92 13:49:10


Hi, I'm trying to install gcc 2.3.1 on a Sun IPC running sunos 4.1.1

I was trying to redirect the output of my stage three make, but it
printed some messages to stderr and I missed them. Now when I run the
stage three it gives me the following:

[khonshu:/usr/local/gcc/gcc-2.3.1 ! ]# make CC="stage2/xgcc -Bstage2/" CFLAGS="
-g -O" LANGUAGES=c
if [ -f libgcc2.ready ] ; then \
        true; \
else \
        touch libgcc2.ready; \
fi
[khonshu:/usr/local/gcc/gcc-2.3.1 ! ]#

What can I do to run the stage 3 compile without starting all over
again with the tar file? If I delete libgcc3.ready, will that do the
trick? (As you can probably tell, I don't know much about shell
scripts). 

Also in the distribution directory I just found a script dostage3:

#!/bin/sh
make -k LANGUAGES=c $1 CC=stage2/xgcc XCFLAGS=-Bstage2/ CFLAGS="-g $2" >log3 2>&1

Sould I be using this? If I run it with no arguments will it do what I
want? 

Thanks,
	Ed
--
Edward Hartnett			ejh@khonshu.colorado.edu

Newsgroups: gnu.emacs.bug