HDTenEightyP/NetNews huggingface dataset:
From: jtien@venice.eng.uci.edu (Joe Tien)
Subject: email address of Pat Wood
Newsgroups: gnu.gcc.help
Reply-To: jtien@venice.eng.uci.edu (Joe Tien)
Organization: University of California, Irvine
Date: 2 Sep 92 03:47:56 GMT


Does anybody know what's the email address of Pat Wood of Pipeline Associates, Inc.? He wrote the floatlib.c for gcc-2.2.2 and I'd like to ask him some question
about that. (Pat, if you see this, would you please contact me, thanks.)

The email address listed in floatlib.c is: pipeline!phw@motown.com or 
sun!pipeline1phw or uunet!motown!pipeline!phw.

Thanks,

Joe Tien
jtien@balboa.eng.uci.edu
Newsgroups: gnu.gcc.help
From: pete@puffin.uucp (Pete Carah)
Subject: Re: How to compile/install libg++2.2.2
Organization: Pete's Unix
Date: Wed, 2 Sep 1992 17:59:50 GMT
Distribution: na

In article <1992Aug31.192328.19979@cc.umontreal.ca> duperval@ERE.UMontreal.CA (Duperval Laurent) writes:
>Hi,
>
>I'm trying to compile libg++ on an Iris4d but I have a few problems.  I've
>appended the messages I get during compilation if it may help anyone to see
>what the problem is.
>
>Let me first say that gcc, g++, etc are not installed in /usr/local.  I'm
>trying to make sure everything works properly before I let unsuspecting users
>bombard me with 'It don't work' messages.
OK, but you need to be able to use gcc.  See below...

> As you can see, 'cc' is used to
>compile everything.  I thought gcc or g++ was to be used (Is that what the
>rootme macro is used for?).  Compilation coughs severely as you can see.
Correct; the configure is wrong, at least for sgi.
I think it's also wrong for 386 sysv - I tried it here and had to make
the same fixes; the non-ansi include files (for sysv3) are easier with
fixincludes.

>Is there a way to tell configure where to find gcc?  As in 
>rootme=`dirname `which gcc`` (I know it's illegal but...)
>or something similar?
I just editted the makefiles after configure.
You MUST have run fixincludes and the fixed includes must be in the
include search path (defaults to /usr/local/lib/..../include)
There are a few edits needed to the include files in libg++ package
to make compilation work; they are pretty self-evident from the error
messages you get (you didn't get nearly that far...).
If you compiled gcc assuming standard placement of these things and
they aren't there, you need to do a bunch to the makefiles.  Also
fixincludes won't work without modification in that case.

The error messages come from feeding c++ source xxx.C to cc, which
doesn't recognize the filename extension, so assumes object and passes
the c++ source to the linker (which of course barfs).  libiberty can
use cc but the rest of the source NEEDS gcc.  Better to use gcc for
all.  The fixincludes is more necessary on irix 4.0.x than 3.x but
is needed on either as far as I have seen.

>Or am I seeing everything all wrong?
No.  There is an error in configure for the libg++ (at least 2.1, which
is the latest I've tried.)

>duperval@ere.umontreal.ca
>duperval@jsp.umontreal.ca

-- Pete (Pete@puffin.uucp)
Newsgroups: gnu.gcc.help
From: derway@cco.caltech.edu (Duane D. Erway)
Subject: gcc cross compiler for INMOS Transputers?
Summary: Anyone know of a port?
Keywords: cross-compile transputer
Organization: California Institute of Technology, Pasadena
Date: Wed, 26 Aug 1992 17:43:34 GMT

Is there a port of gcc to produce code for any of the transputer processors?

	-Don
	derway@ndc.com
From: gordon@dcs.exeter.ac.uk (Gordon Watson)
Newsgroups: gnu.gcc.help
Subject: How to get gcc on HPUX and AIX?
Date: 3 Sep 92 16:25:39 GMT
Distribution: gnu
Organization: Computer Science Dept. - University of Exeter. UK

We are considering buying an HP or IBM Unix box (yes,
I'm been told they are not nice but I'm also told
they are fast). We would like to save $$$ by using
gcc. How would we install it without a compiler?
Find a kind soul who would allow us to ftp their
binaries?

Thanks,

Gordon
--
Gordon Watson
 Systems Administrator
  Department of Computer Science
   University of Exeter
From: mirchand@schubert.cs.unc.edu (Jaideep Mirchandani)
Newsgroups: gnu.gcc.help
Subject: How much is gcc used ?
Keywords: gcc, usage, tcpip, rpc
Date: 27 Aug 92 02:13:13 GMT

Greetings,
I am trying to convince my boss to switch to gcc. He says that he will only
do so if :
1. gcc has been used in a real product.
2. It has been used with networking software, tcpip, Sun rpc, etc.
3. It works on (yuck)PC's, esp. OS/2 and Windows.

He wants hard evidence of its viability largely because it is 
unsupported. 
If you have any answers to the above, would you please let me know ? 


Thanks for reading this,
Jaideep
From: dj@ctron.com (DJ Delorie)
Newsgroups: gnu.gcc.help
Subject: Re: How much is gcc used ?
Date: 31 Aug 92 23:59:00 GMT
Reply-To: dj@ctron.com
Distribution: gnu
Organization: None whatsoever

In article <9208281718.AA18443@_la.tce.com>, pierre@la.tce.COM (Pierre Willard) writes:
> > I am trying to convince my boss to switch to gcc. He says that he will only
> > do so if :
> > 1. gcc has been used in a real product.
> > 2. It has been used with networking software, tcpip, Sun rpc, etc.
> > 3. It works on (yuck)PC's, esp. OS/2 and Windows.
> 
> DESQview/X X11 toolkit includes GNU C Compiler !!
> (with DOS4GX Dos Extender).

I suggest you check your information on this one:

1. the X11 toolkit includes the GNU C compiler, correct, but as of yet
not-quite-officially announced.

2. It uses go32, not dos4gx.  Dos4gx is used for their 32-bit
programs, but not for gcc-built programs.

3. The gcc it includes is a verbatim copy of djgpp 1.08 (or will be).

4. djgpp 1.08 also includes (binary-only) the X11 toolkit, per
agreement with Quarterdeck.

This arrangement between Quarterdeck and myself (author of djgpp and
porter of gcc to it) was to our mutual benefit, and is definitely a
pair of real products.  Traditionally, support for this particular
environment (djgpp) has been at *no* cost to any user.

Note also that I get a lot of mail from people who are using gcc
ported to MS-DOS to create real products (ie: sell for $$ to
customers) as well.

DJ
dj@ctron.com
Life is a banana.
From: dla@se05.wg2.waii.com (Doug Acker)
Newsgroups: gnu.gcc.help
Subject: cross compiling 386 code on SUN or AIX boxes
Date: 3 Sep 92 13:58:18 GMT
Reply-To: acker@se01.wg2.waii.com
Organization: Western Geophysical Exploration Products

Has anyone tried this?  I built gcc fine on a SUN and rs6000 box...and tried 
to make the cross-compiler ... but I fail when I try to compile toplev.c ..
TARGET-DEFAULTS are wrong ...  I'm using xmi386dos.h and i386.h ...

-- 
Douglas L. Acker

Western Geophysical Exploration Products
Systems Engineer

Email (internal):  acker                Phone:  713-964-6128
      (Internet):  acker@wg2.waii.com
From: stan@dixie.com (Stan Brown)
Newsgroups: gnu.gcc.help
Subject: Next version of GCC & GDB
Date: 1 Sep 92 23:22:43 GMT
Organization: Dixie Communications Public Access.  The Mouth of the South.


   Does anypne know when the next version of GCC and GDB is expected
   to be out?

   I am trying to get these working on an HP RISC machines, and after
   FTP'ing the fixes for the HP PA from I forget wher, I can't get it
   to build correctly.  Before I spend a lot of thime on this I would
   like to find out if this going to be in the next release of the GNU
   stuff and when this is expected.

   Thanks
   Stan
-- 
Stan Brown					    Electric Systems Inc.
Home (404) 299-2225				Atalanta Ga. (USA)
Home (615) 894-5781				Chattoonaga TN (USA)
Work (615) 899-1714				stan@dixie.com
dixie.com = Public Access UNIX in Georgia
Newsgroups: gnu.gcc.help
From: west@chance.dsg.ti.com (Roger West)
Subject: Imbedding compilation information into binaries
Organization: Texas Instruments, Speech Mushrooms.
Date: Thu, 3 Sep 1992 20:27:09 GMT


I'm trying to implement software configuration procedures which automatically
track how binaries are derived from source code.  I'm using RCS keywords to
keep track of which source revision a binary is compiled from, but I also want
to keep track of the compiler version and options that were used.  Using gcc,
part of what I want is provided by the builtin macro __VERSION__, which allows
for something like...

	static char rcsid[] = "@(#) $Id$ GCC Version: " __VERSION__;

The what(1) command can then be used to show version information.  

In order to provide the remaining information I need, I'm considering
implementing a similar builtin macro called __OPTIONS__ which would expand to a
string containing all the compilation options used.  Has anyone already done
this, or solved this traceability problem in some other way?

Roger
Newsgroups: gnu.gcc.help
From: michael@resonex.com (Michael Bryan)
Subject: Re: How to compile/install libg++2.2.2
Organization: Resonex Inc., Sunnyvale CA
Distribution: na
Date: Thu, 3 Sep 1992 06:58:52 GMT

[Regarding difficulties compiling and installing libg++ 2.2]

Well, I finished the installation last night.  I *think* it worked
ok;  at least, a couple of simple C++ programs compile and run
properly, using the iostream library.  Here's what I had to do
to get everything to work, on an HP 9000/380 running HP-UX 8.0:

1)  configure m68k-hp-hpux    [same configure target I used for gcc 2.2.2]

2)  <Edit libg++/utils/gen-params to correct the previously posted error,
     changing "${macro_prefix} ${DOLLAR_IN_LABEL}" to
     "${macro_prefix}DOLLAR_IN_LABEL".>

3)  make CC=gcc

4)  <Edit libg++/Makefile to contain "INSTALL=${INSTALL}" in several
     key places, especially under the "install:" target.  This was
     necessary, because the shipped Makefile does not properly pass
     on the value of INSTALL, and I needed to change it.>

5)  make install CC=gcc INSTALL=cp

(The syntax of "install" on HP-UX is not at all what the Makefiles expect,
and so I had to change to a regular copy.  I don't know how many other
O/S's are affected by this one, or if HP has just arbitrarily decided to
have different syntax.  My guess is that it's a System 5 vs. BSD thing,
but I don't know for sure.)

After that, everything seemed to work ok!  I'll be doing more rigorous
tests later...

-- 
Michael Bryan        michael@resonex.com                     |     ,_,
Milk and Cheese in '92!!!                                    |    /oo \
"What the world needs now are some true words of wisdom,     |    <>__|
like 'La-la-la-la-la-la-la-la-la-la'."  -- Cracker           |    |  U|
From: chatfiel@anaconda.cis.ohio-state.edu (William Lewis Chatfield)
Newsgroups: gnu.gcc.help
Subject: build error
Date: 3 Sep 92 14:32:53 GMT
Distribution: gnu
Organization: The Ohio State University Dept. of Computer and Info. Science

I recently posted a message about the following error which occured while I
was trying to build gcc 2.2.2 on a 386BSD 4.4 net2 system.


libgcc2.c:41:Junk character 47.
libgcc2.c:41:Rest of line ignored. 1st junk character valued 65 (A).
libgcc2.c:43:Junk character 47.
libgcc2.c:43:Rest of line ignored. 1st junk character valued 78 (N).
*** Error code 1

Stop.


I have solved the problem on my own.  It is with the version of the gnu
assembler that I am using.  When gcc puts a comment in its assembler code
output it uses the '/' character to begin the comment, however the new version
of the gnu assembler that I am using does not recognize the '/' character as
beginning a comment.  It only accepts the '#' character as beginning a comment.
This may be specific to i386 machines.  I don't know.

I am considering changing my copy of gcc 2.2.2 so that it can use either '/'
or '#' for assembler comments.  I would appreciate any input or corrections to
what I have said.


Thanks,
Bill Chatfield
Newsgroups: gnu.gcc.help
From: lindholm@ucs.ubc.ca (George Lindholm)
Subject: gcc-2.2.2: varargs problem?
Organization: University Computing Services, UBC, Canada
Date: Fri, 28 Aug 1992 21:53:27 GMT

How do I prototype and define a procedure that takes a variable number of
arguments? When I try the following on our Sun box:
#include <varargs.h>
void test(int a, va_alist);
void test(a, va_alist)
int a;
va_dcl
{
}

I get:
gcc -c a.c
a.c:2: parse error before `__builtin_va_alist'

gcc -E reveals:
void test(int a,  __builtin_va_alist );
void test(a,  __builtin_va_alist )
int a;
   int __builtin_va_alist; ...  
{
}

If I change the prototype to 'void test(int a, ...)' gcc complains that
a.c: In function `test':
a.c:5: number of arguments doesn't match prototype

Any help would be appreciated. Thanks?

   George
-- 
George Lindholm                                  phone:    (604) 822-4375
University Computing Services, UBC               fax:      (604) 822-5116
6356 Agricultural Road, Vancouver, B.C., Canada  internet: lindholm@ucs.ubc.ca
V6T 1Z2                                          bitnet:   USERGNL@UBCMTSG
From: warsaw@nlm.nih.gov (Barry A. Warsaw)
Newsgroups: gnu.gcc.help
Subject: Re: Problems with #include <unistd.h>
Date: 28 Aug 92 15:13:38 GMT
Reply-To: warsaw@nlm.nih.gov (Barry A. Warsaw)
Organization: Century Computing, Inc.


I get the same conflicting type messages for open(), rename(), and
unlink() on SunOS 4.1.1, gcc 2.2.2.
Newsgroups: gnu.gcc.help
From: rjesse@netcom.com (Rick Jesse)
Subject: (none)
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 31 Aug 1992 05:14:28 GMT

gcc.2.2.2 (c++) and private static vars


I'm compiling InterViews 2.6 with gcc2.2.2 and have
no problems until the link stage.  The InterViews
libraries compile and archive successfully, but when
I compile code and try to link with these libraries I
get undefined symbols.  After looking around at the
object files and the source, I found that the symbols
that are reported as undefined are each delcared as
private or protected static variables of classes in the source.

I'm compiling on a Sun4/110 with SunOS4.1.1,
using gcc2.2.2 and sun's linker.

The output from the link looks like:

ld: Undefined symbol
   __8WorldRep$_host
   __6Sensor$maxchannel
   __6Sensor$channels


The delcarations in the source look like:

class Sensor : public Resource {
public:
//...
protected:
    static unsigned channels;
    static int maxchannel;
//...
};


and...

class WorldRep {
public:
//...
private:
    static char _host[100];
//...
};


Are there options that I should be specifying to gcc to 
correct this?

Thanks,


Rick Jesse
From: raney@teal.csn.org (Scott Raney)
Newsgroups: gnu.gcc.help
Subject: Undefined ___xsignal with gcc 2.1 on DG AViiON
Summary: Can't use signals with 88kBCS
Date: 3 Sep 92 17:47:01 GMT
Organization: Colorado SuperNet, Inc.


 I'm trying to build a C++ application using gcc 2.1 on DG AViiON
(DGUX 5.4.1), but if signal.h is included, linking results in a bunch
of undefined references of the form ___xsig????.  Where are these
functions?  In libc.a there are some with double underscores, but no
triples.
  Gcc itself built and installed fine, and the application runs fine
if the signal stuff is commented out, but I need to catch those
signals!
  My eternal gratitude to anyone who can help,
-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************
From: rob@shw.optics.rochester.edu (Rob Smith)
Newsgroups: gnu.gcc.help
Subject: Installing in a Home Directory?
Date: 25 Aug 92 20:33:57 GMT
Organization: University of Rochester Computing Center



	Has anyone ever installed gcc in their home directory without root  
privileges? Can I somehow install the compiler without dealling with the  
sysadmin? We have lots of disk space but a missing/inactive sysadmin. Is such  
an undertaking for gurus only?

thanks,
rob
Newsgroups: gnu.gcc.help
From: meissner@osf.ORG
Subject: defining endianness on mips processor
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 31 Aug 1992 06:32:24 GMT

| 
| On the c compiler provided with the RISC os for their mips
| processor, there is an option to toggle between big and
| little endian.  cc (-EL/EB)  On our workstations we compile
| in big endian, and for our engineering platform we compile
| in little endian.
| 
| gcc does not apear to have such an option of its command line.
| There are #defines that you can use,  it seems, to say which 
| type of endianness you want, when you build gcc.
| 
| I realy don't want to have two gcc executables (one for big and
| one for little endian.)  I'd like a command line argument
| to be able to switch between the two.  Is that going to exist
| in a future gcc release, or is it posible to hack on the code
| to produce big/little endian as definable by the user?

GCC internally is not set up to be able to switch endianess at
runtime.  If you look in the sources, you will see a number of places
that use #ifdef's in the middle of expressions that control the
endianess.  Obviously, it could be done, but so far it hasn't been.

While you would still have to have two executables, you could switch
endianess via the -b <machine> switch and only have one driver program.

--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

You are in a twisty little passage of standards, all conflicting.
Newsgroups: gnu.gcc.help
From: MEHRDAD@glum.DEv.cf.ac.UK (GHASSEMPOORY)
Subject: GCC for OS9
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 3 Sep 1992 12:07:00 GMT

Is there a GCC for OS/9 operating system ?
If yes where can I find it?
Newsgroups: gnu.gcc.help
From: hvaisane@cs.joensuu.fi (H. Vaisanen)
Subject: Problems with #include <unistd.h>
Organization: University of Joensuu
Date: Fri, 28 Aug 1992 07:49:34 GMT


I am using gcc version 2.2.2 in DECstation 3100 under Ultrix V4.2

When I do #include <unistd.h> I get error messages for conflicting
types of functions, like this:


/usr/local/gnu/lib/g++-include/unistd.h:57:
  conflicting types for `int  chown (const char *, short int, short int)'
/usr/local/gnu/lib/g++-include/unistd.h:57:
  An argument type that has a default promotion
/usr/local/gnu/lib/g++-include/unistd.h:57:
  can't match an empty parameter name list declaration.
/usr/include/unistd.h:157: previous declaration of `int  chown (...)'
From: Werner_Behrenbeck@pb.maus.de (Werner Behrenbeck)
Newsgroups: gnu.gcc.help
Subject: how to [read] diff [files]
Date: Tue, 25 Aug 92 22:32:00 GMT
Organization: MausNet
X-Gateway: MausGate/News 1.11

can someone please gimme an hint about
   1. howto use diff
   2. what are att this parameters for
   3. how to read a diff output-file

if possible please answer in german,
if possible, send me a pm
thanks !
Newsgroups: gnu.gcc.help
From: h.b.furuseth@usit.uio.NO
Subject: Re: GCC 1.41 now released
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 4 Sep 1992 23:41:12 GMT

When you announce a new release of gcc/g++/libg++, please also tell
which versions of the two others it can be used with.

I'm using g++, not gcc alone.  Should I install gcc-1.41?

If a version is not released yet, maybe you could say ie "it may
possibly be released next month, unless something".  I know you don't
like to predict dates, but that should be vague enough not to cause
any gripes.


Regards,

Hallvard
From: Marc_Van-Woerkom@ac3.maus.de (Marc Van-Woerkom)
Newsgroups: gnu.gcc.help
Subject: Re: GCC on OS/2 ?
Date: Sun, 30 Aug 92 01:42:00 GMT
Organization: MausNet
X-Gateway: MausGate/News 1.11

ca> Sorry for the dumb question, I'm sure this has been answered before, but is
ca> there a port of GCC for OS/2 ?

Yes. There are 2 ports available -- gcc/2 and emx.

You can get both at hobbes.nmsu.edu. (/pub/os2/2.0/programming or so..)


Bye, Marc
Newsgroups: gnu.gcc.help
From: tiemann@cygnus.com
Subject: Re: How to get gcc on HPUX and AIX?
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 4 Sep 1992 04:48:09 GMT

   Return-Path: help-gcc-request@prep.ai.mit.edu
   To: help-gcc@prep.ai.mit.edu
   Date: 3 Sep 92 16:25:39 GMT
   Organization: Computer Science Dept. - University of Exeter. UK
   From: gordon@dcs.ex.ac.uk (Gordon Watson)
   Sender: help-gcc-request@prep.ai.mit.edu
   Subject: How to get gcc on HPUX and AIX?
   
   We are considering buying an HP or IBM Unix box (yes,
   I'm been told they are not nice but I'm also told
   they are fast). We would like to save $$$ by using
   gcc. How would we install it without a compiler?
   Find a kind soul who would allow us to ftp their
   binaries?
   
   Thanks,
   
   Gordon
   --
   Gordon Watson
    Systems Administrator
     Department of Computer Science
      University of Exeter

I'm all for saving money, but the question is: to what purpose?  Are
you saving money so you can buy proprietary software?  Or are you
saving money because you don't have any?  If you don't have any money,
then I presume the HP's and IBM's are gifts--a typical state of
affairs for Universities.  In that case, these companies should grant
you licenses as well.

If you are saving money so you can afford to pay students and staff to
develop and enhance free software, I'll send you a copy of our
software development tools that runs on IBM RS/6000 (we don't have
binaries for HP yet).  Please be sure to tell me what projects you
will be working on, so I can see how we can benefit by benefitting
you.

The support and development of free software costs money.  Cygnus
Support is currently spending millions of dollars per year on
supporting and enhancing GNU C, G++, GDB, and other GNU software.
While we benefit tremendously from the cooperation of users around the
world, we are screwed when users choose to spend money on competitors'
products simply because they can get copies of our software without
paying money.  The Free Software Foundation is in a similar position.
Please consider this fact when you make your purchasing decisions.

You get what you pay for: if you want freely redistributable software
to get better, you are better off paying for it.

Michael
From: loader@vax.oxford.ac.uk
Newsgroups: gnu.gcc.help
Subject: gcc for MS-DOS???
Date: 1 Sep 92 21:04:26 GMT
Organization: Oxford University VAX 6620

Is it possible to run gcc on a 386 running MS-DOS?
If so, where can I FTP a compiled version (I'd prefer not to have to work out
how to create a cross compiler on this VAX etc. etc. etc. is possible). Please
email me as I don't read this newsgroup.
--
Ralph
Newsgroups: gnu.gcc.help
From: bjaspan@athena.mit.edu (Barr3y Jaspan)
Subject: Re: GCC on OS/2 ?
Organization: Massachusetts Institute of Technology
Date: Fri, 28 Aug 1992 01:57:29 GMT

In article <37340@sdcc12.ucsd.edu>, jclark@sdcc3.ucsd.edu (John Clark) writes:
|> There is an 'ftp-able' OS/2 port on ftp-os2.nmsu.edu. That's 'New
|> Mexico State Uni.'.

ftp-os2.nmsu.edu is the primary ftp site for OS/2 software.

|> Since I only got this for a friend who has an OS/2 system I can't
|> vouch for it's fitfulness. The level of revision was 2.1 which is
|> currently out of date with prep.ai.mit.edu at 2.2.2.

GCC/2, the name people have taken to calling the native port of GCC to OS/2,
is now based on gcc 2.2.2.  This happened only very recently.

-- 
Barr3y Jaspan, bjaspan@mit.edu