HDTenEightyP/NetNews huggingface dataset:
From: rms@gnu.ai.mit.edu (Richard Stallman)
Subject: C header on SunOS 4.1.1
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 7 Sep 1992 05:32:30 GMT

If you want POSIX and ANSI header files on a Sun,
try using the GNU C library.  It includes a complete
set of header files, and it is supposed to work on Sun 3 and Sun 4.
You can get it from /pub/gnu/glibc-1.04.tar.Z on prep.ai.mit.edu.
You can also get it by ordering the "experimental tape" from the FSF.

(Ordering a tape is a good way of helping the FSF continue to pay
programmers and tech writers, including the programmer who wrote the C
library and is now actively working on it.)

The GNU C library is covered by the Library GPL, which means that
you can include it in proprietary programs but there are certain
rules to follow when you do.

Newsgroups: gnu.gcc.help
From: jamesa@duke.colorado.edu (Jim Anderson)
Subject: More help with 2.2.2 on Decstation
Originator: jamesa@duke
Keywords: AGGGGGGHHHHH
Organization: University of Colorado, Boulder
Date: Fri, 11 Sep 1992 20:19:35 GMT

Ok, so I've finally cleared up the sysadmin problems we were having
and got the "install" phase to work with gcc2.2.2 - thanks to all of 
you who sent suggestions.

But now that I have it installed, I can't seem to find the include files!
I looked in:
/usr/local/lib/gcc-lib/include - contains nothing.
/usr/local/lib/gcc-lib/decstation-ultrix4.0/2.2.2/include - contains some
include files, (listed at end of message) but not the ones I need.  In 
particular, where are the stream.h and other c++ headers located?  
Did the install just not work? (there were no error messages or warnings
during the install - I saved the output)
Or am I looking in the wrong place?  Or did I forget to do something?
(I followed the instructions in the INSTALL file - was there someplace
else to look?)

Thanks for any help -
jim anderson

here's what's in the /usr/local/....2.2.2/include file:\
README      float.h     netdnet/    rpcsvc/     strings.h   va-m88k.h
X/          limits.h    netimp/     sas/        syms.h      va-mips.h
X11/        machine/    netinet/    setjmp.h    sys/        va-pyr.h
a.out.h     math.h      nfs/        signal.h@   time.h@     va-sparc.h
ar.h        mips/       nlist.h     stdarg.h    ufs/        va-spur.h
arpa/       mon.h       prof.h      stddef.h    unistd.h    values.h
assert.h    mp.h        proto.h     stdio.h     va-hp800.h  varargs.h
dbm.h       net/        ranlib.h    stdlib.h    va-i860.h
execargs.h  netbsc/     rpc/        string.h@   va-i960.h

Newsgroups: gnu.gcc.help
From: zilla@ccrl.nj.nec.com (John Lewis)
Subject: suncc vs gcc align
Organization: C&C Research Labs, NEC USA, Princeton, N.J.
Distribution: gnu
Date: Sat, 12 Sep 92 03:36:19 GMT

Hi, 
In recompiling a file under gcc 2.2.2 (on sparc2), it seems like gcc
is handling double alignment in a structure differently 
than previous versions.  
The file needs to be linked with some files compiled with the 
normal sun cc; thus I specified -fpcc-struct-return, which did not help.

The following self-contained program illustrates the problem.
The program runs using the sun cc compilation line but fails with a
buss error when run with either of the gcc lines.  
================
/*% cc % -o junk %*                             OK
 *% gcc % -o junk %*                            BUS ERROR
 *% gcc -fpcc-struct-return % -o junk %*        BUS ERROR
 */

#include <stdio.h>
#include <stdlib.h>

struct S_Flonum {			/* structure containing double */
    int tag;
    double val;
};

typedef unsigned Object;
#define FLONUM(x)   ((struct S_Flonum *)(x))

main() {
  char *p;
  Object num;
  unsigned long a;

  p = malloc(sizeof(struct S_Flonum) + 100);  /* result is 8-aligned */
  p += 4;                                     /* make it aligned on 4*/

  num = (int)p;
  FLONUM(num)->val = 3.1415927;		/* BUSS ERROR here if 4-aligned */
  a = (unsigned long)&(FLONUM(num)->val);
  printf("val @ %d, 4=%d,8=%d\n",a,4*(a/4),8*(a/8)); fflush(stdout);
  printf("val=%f\n",FLONUM(num)->val);
}
From: odysee@kobra.corax (Tobias Thomson)
Newsgroups: gnu.gcc.help
Subject: How to compile for gprof???
Date: 11 Sep 92 12:28:21
Organization: /home/kobra/d91/odysee/.organization
NNTP-Posting-Host: kobra.csd.uu.se

How do I compile for using the profiler? I tried the -pg but with no
respons.

Newsgroups: gnu.gcc.help
From: geoffr@fraser.sfu.ca (Geoff Routledge)
Subject: -g option not working on HP9000
Summary: "-g option not supported on this version of GCC"
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Wed, 9 Sep 1992 01:24:25 GMT

I just finished compiling GCC for an HP9000s400 and somewhere along the line
the -g option for debuging info was lost.  Now when I try to compile anything
with the -g option, GCC complains that -g is not supported in this version.
What am I doing wrong?

Thanks tonnes.

Geoffrey Routledge
DBA Communication Systems
North Vancouver, B.C., Canada
Newsgroups: gnu.gcc.help
From: chris@cyber.mim.uni-hannover.de (Christoph Niessen)
Subject: HELP: GO_IF_LEGITIMATE_ADDRES
Organization: MiM (Universitaet Hannover, Institut fuer Messtechnik im Maschinenbau, Deutschland, Germany)
X-Newsreader: Tin 1.1 PL4
Date: Mon, 7 Sep 1992 12:45:14 GMT

Hi,

i tried to compile gcc on an IRIS3030 (CYBER910/300). This machine
has an 68020 and special floating point hardware. The first problem
during compilation gcc-1.41 is in relaod.c (line 786):

compiler error: out of tree space; simplify expression

The macro GO_IF_LEGITIMATE_ADDRESS seems to be too much complicated.
Please help via mail or this newsgroup.

Chris


Please ignore all the mistakes, my first language is german!

---------------------------------------------------------------------
Uni-Hannover, MiM             e-Mail: chris@cyber.mim.uni-hannover.de
Christoph Niessen             voice:  +49 511 762-4301
Nienburger Str. 17            fax:    +49 511 762-3456
3000 Hannover 1, Germany
---------------------------------------------------------------------
From: trs@cs.city.ac.uk (Tom Stiemerling)
Newsgroups: gnu.gcc.help
Subject: Compiler for relocatable data segment
Date: 2 Sep 92 13:31:30 GMT
Organization: City University, London

I require a compiler and linker for C (for SPARC) which will indirect
all references to variables in the data segment through a base register
(resulting in something similar to a segment register in an iX86). 
Currently the linker assigns absolute addresses for these variables,
whereas I would like them to be offset from a pointer to these base of
the data segment.  This means the data segment is relocatable simply by
changing the base pointer.  Using PIC does something similar but not
quite, sine the global offset table is still assumed to be at a fixed
address.  I need this for a single address space operating system
emulator. Can anyone comment on whther it would be possible to hack gcc
to do this? Has anyone tried it? etc.

Thanks.



--
## Tom Stiemerling, Research Assistant, Systems Architecture Research Centre, #
## Computer Science Department, City University,  Northampton Square, #########
## London EC1V 0HB, U.K. ### trs@cs.city.ac.uk ### +71 477 8551 ###############
From: gerlek@ogicse.ogi.edu (Michael Gerlek)
Newsgroups: gnu.gcc.help
Subject: Building gcc on a Stardent?
Date: 9 Sep 92 23:21:30 GMT
Article-I.D.: ogicse.42581
Organization: Tanasbourne Graduate Institue -- Beaverton, Oregon


We've recently acquired a (somewhat obsolete) Stardent graphics box --
MIPS chips, sysv-ish "TitanOS", etc -- and we'd like to run gcc (and
emacs, too) on it, but are clueless on where to begin.

I'd appreciate it if anyone w/ any experience porting for a Stardent
would send some email.  Thanks...

-- 

-[mpg]
 gerlek@cse.ogi.edu
 "Everything _and_ the girl."
From: a_sudan@vger.nsu.edu
Newsgroups: gnu.gcc.help
Subject: Help with gcc-2.2.2 on ATT 3b2!!!!
Date: 12 Sep 92 20:35:01 EDT

Hi,
This is the 4th request so I hope to get some
response.  I am trying to build gcc-2.2.2 on an
ATT 3b2, SYSVr3.2.  The problem as I try to issue
make LANGUAGES=c I am recieving a too much defining
error in stmt.c . I know that there is a fix in the
Makefile but I can't handle this on my own.  So.....
someone out there if you can oblige me with this fix
I would greatly appreciate it.

Also any other hints recommendations on building gcc and 
g++ would be appreciated.

Thanks
Ahmed Sudan
a_sudan@vger.nsu.edu

Newsgroups: gnu.gcc.help
From: michael@stb.INfo.COM (Michael Gersten)
Subject: Help on addressing modes...
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 10 Sep 1992 01:38:00 GMT


I need some help on addressing modes in gcc 2.2.2.

I have a machine where some instructions can take a constant address,
or a constant plus a register. Some can handle the indirect versions
of those (contents of a fixed location, or contents of a fixed location
plus a register).

How do I tell the compiler that some instructions cannot indirect? I
can say that an operand must be memory, but it won't be able to be
any memory expression. (In other words, GO_IF_LEGITIMATE_ADDRESS needs
to depend on the instruction being generated).

Also, am I correct in thinking that if GO_IF_LEGITIMATE_ADDRESS is
passed an rtx beginning with '(mem (...) )', then it is an indirect
address? (I.e., if it is passed '(reg X)' it is not the register itself
that is being addressed, but the address pointed to by the register)

		Michael
michael@stb.info.com
Newsgroups: gnu.gcc.help
From: kocks@jessica.stanford.edu (Peter Kocks)
Subject: Re: Compiling 2.2.2 on Decstation - problems!
Organization: Academic Information Resources
Date: Wed, 9 Sep 92 00:42:50 GMT

In article <1992Sep4.145433.22515@colorado.edu> jamesa@glenn.Berkeley.EDU (Jim Anderson) writes:

[ gcc 2.2.2 will not compile on a decstation ultrix 4.2 ]

Correct.  I do not have the time to give the precise fix, but here is
the problem.

The make file for gcc2.2.2 uses the new gcc compiler to compile the
code equire.c (or something close to that).  Look in the Makefile, it
will say that orginally the makefile used the native compiler for this
code, but they changed it back.  They should not have.  

enquire.c gets the byte ordering for the machine.  It must be compiled

1) With the native compiler (if one exists)
2) Without any optimizations of any kind.
A
Your best bet is to start from scartch, things get messed up if you
don't.  Erase everything, reconfigure and edit the Makefile to compile
enquire with the native cc compiler.  A simple cc -c enquire.c should
be enough.

--Peter Kocks
  kocks@chemistry.stanford.edu

P.S.  When you compile some of your own code, you may run into
conflicts with some of the header files.  Make sure that you include
the /usr/locla/gcc/m...../2.2.2/.../include stuff before /usr/include.
This should be the default but may not be.  If conflicts arize (like
with wait.h copy the /usr/include version and things should work.).





Newsgroups: gnu.gcc.help
From: thor@teetot.acusd.edu (Mr. Nelson Thor Brickman)
Subject: Need help installing gcc...
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 11 Sep 1992 17:31:05 GMT

I am trying to install gcc under Ultrix 4.2 on a vax.  The configure
command seems to work and the compile proceeds for quite some time, but
then gags and spits out this:

cpp: error /usr/tmp/cca01047.s:1: undefined control
cpp: error /usr/tmp/cca01047.s:37: undefined control
cpp: error /usr/tmp/cca01047.s:39: undefined control
*** Error code 1

I can't find these files where it says they are.  I figured maybe my cpp
was lousing up the works and tried using the one in the gcc directory
without any obvious change.

Anybody got any ideas?  I would greatly appreciate any help.


Newsgroups: gnu.gcc.help
From: graham@convex.com (Marv Graham)
Subject: gcc 1.40 for HP PA-RISC??
Date: Wed, 9 Sep 1992 16:00:30 GMT
Distribution: na
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

Is there a way to build a gcc 1.40 for the HP PA-RISC architecture?
It looks like all the HP oriented configurations are intended for
M68000 machines.

Marv Graham; Convex Computer Corp.  {uunet,sun,uiucdcs,allegra}!convex!graham
					graham@bach.convex.com
From: hight@erg.sri.com (John Hight)
Newsgroups: gnu.gcc.help
Subject: file path prefix 'static'
Date: 15 Sep 92 16:51:42 GMT
Organization: SRI International, Menlo Park, CA


I have just finished compiling gcc 2.2.2.

Upon using it to compile and link code that was previously compiled
under 1.37.1, I get the following message after the link step:

	file path prefix 'static' never used

What's the deal here?  What does it mean? Is it a warning, or a fatal
error message?

Also, can anyone give me a reference to documentation describing how
to get gnu emacs to load the gcc.info files?

Thanks
-- 
John Hight, SRI International	hight@sri.com	415-859-4279
Newsgroups: gnu.gcc.help
From: ju8025@fasolt.albany.edu (Johannes Ullrich)
Subject: GCC for msdos
Keywords: pc ms dos binary gcc c gnu
Organization: State University of New York at Albany
Date: Mon, 14 Sep 92 19:56:35 GMT

Hi,

anybody here knows a FTP site where I can get the GCC binaries for MS-DOS
from (386DX+387 and 486DX)

Thanks,

     Johannes.



-- 
Johannes Ullrich               ju8025@csc.albany.edu            
SUNY Albany                    ju8025@albnyvms.bitnet 
Center for X-Ray Optics        phone (518) 442 4496     
************************ Have fun *********************************************
Newsgroups: gnu.gcc.help
From: lisa@us-es.sel.de (Lisa Goulet)
Subject: Re: GCC 2.2.2 on HPUX
Keywords: Installation
Organization: SEL-Alcatel LTS Dept. US/ES
Date: Fri, 28 Aug 92 07:12:30 GMT



  Hi! I'm in the process of installing gcc-2.2.2 on HP 9000/380,
HP-UX 7.05.

Pretty early on I get "Undefined External" for bcmp, bcopy, index,
rindex & bzero. On System V, shouldn't these be replaced by memcmp,
memcpy etc.?

Looking forward to any help (e-mail or Newsgroup)

Thanks in advance
-- 

 Lisa Goulet
 SEL-Alcatel
 Unterlaender str 75
 7000 Stuttgart 40
   
Xref: sparky gnu.gcc.help:2111 comp.os.msdos.programmer:9288
From: dj@ctron.com (DJ Delorie)
Newsgroups: gnu.gcc.help,comp.os.msdos.programmer
Subject: Re: djgpp 2.2.2 Q's: mouse/svga/assembler/bios
Date: 11 Sep 92 22:07:49 GMT
Reply-To: dj@ctron.com
Followup-To: gnu.gcc.help
Distribution: gnu, comp
Organization: None whatsoever

In article <25586@castle.ed.ac.uk>, eonu24@castle.ed.ac.uk (I Reid) writes:
> 1. Where is the best place to ask djgpp questions ?

There is a mailing list. To subscribe to the djgpp mailing list, send
mail:

  % mail listserv@sun.soe.clarkson.edu
  Subject:
  add djgpp
  ^D

If you don't get an auto-reply, send mail to
djgpp-request@sun.soe.clarkson.edu.  Regular submissions should go to
djgpp@sun.soe.clarkson.edu.  For listserv help, send a "help" message
to listserv.  There is also a djgpp-announce list.

Currently, there isn't a dedicated newsgroup, although discussion on
such an issue has happened.

> 2. Problems with Trident 8900 chipset and djgpp ?

I've gone back and forth with the Trident drivers.  No one driver
works for everyone, so I stopped trying.  You've got the source; you
can make it work for you.

> 3. Mouse support (non libgr.a)? 1 svga bank only ok ?

Most mouse drivers won't understand SVGA graphics modes, so you need
to use the same method that the libgr.a mouse routines use.

> 4. Interrupt routines ?

Only through go32 or TSRs.

> 5. 386 assembly & bios

It's Motorola format.  I think there's documentation on
gatekeeper.dec.com for gas, but I figured it out from the gas sources
and "gcc -S".

DJ
dj@ctron.com
Life is a banana.
Newsgroups: gnu.gcc.help
From: chris@cyber.mim.uni-hannover.de (Christoph Niessen)
Subject: HELP: GO_IF_LEGITIMATE_ADDRES
Organization: MiM (Universitaet Hannover, Institut fuer Messtechnik im Maschinenbau, Deutschland, Germany)
X-Newsreader: Tin 1.1 PL4
Date: Mon, 7 Sep 1992 12:18:04 GMT
From: arj@cam-orl.co.uk (Andy Jackson)
Newsgroups: gnu.gcc.help
Subject: djgpp 2.2.2 fp emulation problems
Date: 7 Sep 92 11:38:17 GMT
Organization: Olivetti Research Ltd, Cambridge, England.
X-Newsreader: Tin 1.1 PL3

I have just recently started using djgpp and it works perfectly on a 486
machine, but fails with a floating point exception on a 386. I have the
environment variable GO32 set as follows:

	set GO32=ansi emu d:\gcc\emu387\emu387

The readme file implies that this is all I need to do, as this will
overide any setting of the 387 variable.

Is there a known problem ?, or am I doing something wrong (it could of
course be the PC hardware).

		Thanks,

				Andy..

-- 
--------------------------------------------------------------------------
  Andy Jackson - arj@cam-orl.co.uk - phone 0223-343308 - fax 0223-323542
    Olivetti Research, 24a Trumpington Street, Cambridge, UK, CB2 1QA
--------------------------------------------------------------------------
Newsgroups: gnu.gcc.help
From: rms@gnu.ai.mit.edu (Richard Stallman)
Subject: Compiling 2.2.2 on Decstation - problems!
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 8 Sep 1992 20:29:28 GMT

Please disregard advice to change how the makefile compiles
enquire.c.  That change isn't workable in general, and it won't be
installed in future GCC versions.

Problems are rarely due to fundamental design decisions.  Normally
they are due to localized errors that can easily be fixed once they
are found.  You can only conclude a problem is fundamental if you
understand it well enough to rule out local solutions.

If there is a problem in enquire.c, it needs to be investigated
in detail so that the real, nonfundamental problem can be fixed.
Xref: sparky gnu.gcc.help:2078 comp.os.msdos.programmer:9097
From: dla@se05.wg2.waii.com (Doug Acker)
Newsgroups: gnu.gcc.help
Subject: building on 386 cross compilier on AIX
Date: 10 Sep 92 16:09:36 GMT
Reply-To: acker@se01.wg2.waii.com
Organization: Western Geophysical Exploration Products

I want to be able to compile 386 code on an AIX box ..... so I ran
configure as follows:

configure --host=rs6000 --target=ps2

The compile halts at the following:

  cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config aux-output.c
"aux-output.c", line 1588.34: 1506-010 (W) Macro AS2 invoked with a null argume.
"aux-output.c", line 1590.34: 1506-010 (W) Macro AS2 invoked with a null argume.
"aux-output.c", line 1623.38: 1506-010 (W) Macro AS2 invoked with a null argume.
"aux-output.c", line 1628.34: 1506-010 (W) Macro AS2 invoked with a null argume.
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config getpwd.c
        cc -DCROSS_COMPILE   -g   -o cc1 c-parse.o c-lang.o  c-lex.o c-decl.o cd
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config \
          `echo ./cp-parse.c | sed 's,^\./,,'`
"/usr/local/lib/bison.simple", line 34.0: 1506-262 (W) #pragma directive must o.
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-decl.c
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-decl2.c
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-typeck.c
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-type2.c
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-tree.c
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-ptree.c
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-cvt.c
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-search.c
        cc -c -DCROSS_COMPILE   -g     -I. -I. -I./config cp-lex.c
"cp-lex.c", line 67.0: 1506-041 (S) Parameter list cannot contain fewer paramet.
The error code from the last failed command is 1.


-- 
Douglas L. Acker

Western Geophysical Exploration Products
Systems Engineer

Email (internal):  acker                Phone:  713-964-6128
      (Internet):  acker@wg2.waii.com
Newsgroups: gnu.gcc.help
From: FLEINERC%CFRUNI51.BITNET@mitvma.mit.edu
Subject: GNU-C++ Manual
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 9 Sep 1992 20:20:00 GMT


I am planning to use GNU C++ and would like to know, if there
exists a manual for this or wich referencemanual and wich
version GNU C++ is based on ?

thanks for an help

Claudio Fleiner (fleinerc@cfruni51.bitnet)

Newsgroups: gnu.gcc.help,comp.os.vms,vmsnet.internals
From: jkyser@netcom.com (Jeff Kyser)
Subject: GNU CC probs with VMS 5.5
Date: Thu, 10 Sep 92 22:11:16 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Followup-To: poster
Keywords: gnu gcc vms

Greetings All...

I am having some difficulties installing GNU C for VMS (GCC-VMS-1.40d).
My configuration is comprised of a MicroVAX 3100 running VMS 5.5.  Has anyone
else out there been able to get this running under 5.5?  My installation
steps were as follows:

1)  FTP gcc-vms-1.40d.tar.Z from prep.mit.edu.
2)  Download to local Mac.
3)  Uncompress and extract from tar using mac tools.
4)  Copy directory hierarchy onto the VAX.
4)  Define GNU_CC and GNU_CC_INCLUDE logicals using ASSIGN/SUPER/SYS.
5)  Install the GCC command using SET COMMAND.
6)  Run GCC with test file.

The current problems:

1)  When running GCC, a number of images are loaded.  In particular, GCC
wants SYS$LIBRARY:SMGSHR_00.EXE, MTHRTL_00.EXE, LIBRTL_00.EXE, FORRTL_00.EXE.
These do not exist on my VAX in this directory,  and thus the following
errors are generated:

%DCL_W_ACTIMAGE, error activating image SMGSHR_00
-CLI-E-IMAGEFNF, image file not found SYS$DKA300:[SYS0.SYSCOMMON.][SYSLIB]
SMGSHR_00.EXE

I do have corresponding files without the _00 suffix, and copied them
into the files that GCC wants to load.  After that, however, GCC looks
for the file "u/P" (with u having an umlaut over it) and fails with
a syntax error.

Are these the right files, or am I missing some images with _00 suffixes?
What does this suffix mean?

2)  When running the gcc_install script, the GCC precompiler is called to
get the current version level.  This call fails with the following error:

%DCL-W-ACTIMAGE, error activating image GNU_CC:[000000]GCC-CPP
-CLI-E-IMGNAME, image file SBS$DKB0:[COMMON.GCCDIST.GCC.][000000]GCC-CPP.EXE;1
-SYSTEM-F-VA_IN_USE, virtual address already in use

The last error is not documented in my copy of the System Messages docs.
It is new with V 5.5?  What does it mean? 

Thanks in advance.

Jeff

-- 
Jeff Kyser      jkyser@netcom.com      {amdahl,apple,claris}!netcom!jkyser
Newsgroups: gnu.gcc.help