HDTenEightyP/NetNews huggingface dataset:
From: kong@ebony.eecs.ucdavis.edu (Timothy Kong)
Newsgroups: gnu.gcc.help
Subject: gcc support for function unit conflicts
Date: 13 Oct 92 17:32:24 GMT
Organization: U.C. Davis - Department of Electrical Engineering and Computer Science

The manual for gcc version 2.0 says, "No code currently exists to avoid
function unit conflicts, only data conflicts.  Hence multiplicity,
simultaneity, busy-cost, and conflict-list are currently ignored." 
This is true even for the latest version, 2.2.2.  The work I am
currenlty doing needs to have the ability to schedule instructions
with function unit confilicts.  Has anyone modified gcc to include this
feature, or knows of anyone who has done it?  Thanks in advance.

Timothy Kong
kong@eecs.ucdavis.edu
Newsgroups: gnu.gcc.help
From: lucasius@sci.kun.nl (Carlos Lucasius)
Subject: GCC/G++ for Silicon Graphics?
Organization: University of Nijmegen, The Netherlands
Date: Thu, 15 Oct 1992 18:41:44 GMT


Hi,

The title phrases my question.  Does anybody know where
I can find this beast by `ftp'?  Many thanks in advance.

	(^:  carlos  :^)

Newsgroups: gnu.gcc.help
From: miv@math.fundp.ac.BE (Michel Vause (GRT-FUNDP) (32)(81)724923)
Subject: Problem between gcc and X Window/Motif
Reply-To: miv@math.fundp.ac.be
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 12 Oct 1992 11:34:45 GMT

Hello network friends !

I've installed gcc-2.1 without problems on my DECstation 3100 under
Ultrix 4.2a. Ok !

But I have a problem when I try to use gcc to compile a program for X
Window/Motif (for example, the programs in Young's book "X Window
System Programming and Applications with Xt - OSF/Motif Edition"). The
compilation seems Ok, but when I try to execute the program, I have the messages
 :

>> X Toolkit Warning : Cannot find callback list in XtAddCallbacks.
>> ...
>> X Toolkit Warning : Cannot find callback list in XtAddCallbacks.

And effectively the menu doesn't work.

When I use the native compiler cc of DEC, I have no problem.

Can somebody help me ?

Thanks for all replies/suggestions/hints.

VAUSE Michel
FUNDP - GRT
NAMUR (Belgium)
miv@math.fundp.ac.be
Xref: sparky gnu.gcc.help:2267 comp.robotics:1980
From: cmcmanis@pepper.Eng.Sun.COM (Chuck McManis)
Newsgroups: gnu.gcc.help,comp.robotics
Subject: Re: gcc cross compiler for the 6811?
Date: 7 Oct 1992 05:28:04 GMT
Organization: Sun Microsystems, Mt. View, Ca.
NNTP-Posting-Host: pepper

In article <72y3RB4w165w@beltrix.guild.org> (Peter Sleggs) writes:
>I have most of what you want designed already [ except for the Memory -
>8Kx8 was the affordable part then (1989) ]
>peter

Well there is designed and there is "I'll sell you a PC board, documentation,
and some source code." I've got my own Z80 design that while its low power
and has good expansion options, is not nearly as impressive as what you
can do with one of the high integration controllers like the 'HC11.


--
--Chuck McManis						    Sun Microsystems
uucp: {anywhere}!sun!cmcmanis   BIX: <none>   Internet: cmcmanis@Eng.Sun.COM
NIS+ Architect
These opinions are my own and no one elses, but you knew that didn't you.
Newsgroups: gnu.gcc.help
From: rms@gnu.ai.mit.edu (Richard Stallman)
Subject: Constant pointers with ANSI C
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 15 Oct 1992 15:19:25 GMT

This problem is fixed in the current test version, GCC 2.2.2.
Version 2.1 is obsolete and it is not advisable for anyone to be using it.
Xref: sparky gnu.gcc.help:2286 comp.lang.c:14728
From: lkt3_wha@pkinbg.UUCP (Werner Hack)
Newsgroups: gnu.gcc.help,comp.lang.c
Subject: Documentation of bison's %semantic_parser
Date: 9 Oct 92 10:14:16 GMT

Hi,

  can anyone tell me where the %semantic_parser feature of bison is documented?
In the distribution I am using (1.18) neither the manual page nor the reference
manual contains any clue.

Werner

 ------------------------------------------------------------------------------
|  Werner Hack                        |   voice: +49 911 526 3157              |
|  Philips Kommunikations Industrie   |   fax:   +49 911 526 3983              |
|  IC Design Center, Dept. WTI3       |   email: lkt3_wha@pki-nbg.philips.de   |
|  Nuernberg, Germany                 |   seri:  lkt3_wha:pkinus1              |
 ------------------------------------------------------------------------------
Newsgroups: gnu.gcc.help
From: maffeis@ifi.unizh.ch (Silvano Maffeis)
Subject: Profiling with gcc 2.2.2
Organization: University of Zurich, Department of Computer Science
Distribution: gnu.gcc.help
Date: Fri, 9 Oct 92 10:02:38 GMT

Hello!

When compiling g++ programs with -p, I get a lot of undefined
profiling-symbols if I use gcc 2.2.2. (Stuff like LBB20, LBE21, ...).
g++-1.41 works well in the same situation.

Which option or library did I forget?

thanks!


-- 
Silvano Maffeis       CS Dept. University of Zurich, Switzerland
   RFC822: maffeis@ifi.unizh.ch            voice: +411 257 43 27
   X.400: /S=maffeis/OU=ifi/O=unizh/PRMD=SWITCH/ADMD=ARCOM/C=CH/
Newsgroups: gnu.gcc.help
From: daniel_x@athena.mit.edu (Daniel M Higgins)
Subject: g++  classes as friends 
Organization: Massachusetts Institute of Technology
Date: Tue, 13 Oct 1992 01:09:07 GMT

I tried to compile C++ code, using g++, in which I declared a class as 
a friend to a class


I got an error message of "class_name2" is not a function 
and cannot be declares as a friend of "class_name1"

the code compiles eithout problems on the AT&T C++

are classes as friends illegal on the gnu g++ complier? Perhaps it is 
allowed on a newer version.  I believe I used 4.5 but Im pretty stupid
when it comes to computer things


thankyou
	daniel

daniel_x@athena.mit.edu
Newsgroups: gnu.gcc.help
From: ms@mdcsc.UUCP (Mani Sanj)
Subject: installing gcc2.2.2
Organization: Gnus Not Usenet
Distribution: gnu
Date: Wed, 7 Oct 1992 18:20:52 GMT

Hello grus,

/* NOTE: I am no in  the mailing list please send your
response to "uunet!mdcsc!ms" */

Do I missing  gnulibraries or anythinelse or
just gcc.2.2.2 is enough for install??

I am trying to install gcc2.2.2 in a 4/60(SS1) running sunos4.1.3 .
I use 
configure --target=sparc-sun-sunos4.1.3
or 
configure --target=sprac-sun-sunos4.1
same error in both cases.



Then I use " make LANGUAGES=c" 
when it gets toward the end of compilation this error happens
----------------------------------------------------------
cp ./enquire.c . > /dev/null 2>&1
*** Error code 1 (ignored)
./gcc    -g -B./    -DNO_SC -DNO_MEM -DNO_STDDEF -O0 -I. -c enquire.c
./gcc    -g -B./  enquire.o -o enquire
./enquire -f > tmp-float.h
mv tmp-float.h float.h
-----------------------------------------------------------

so I go ahead anyway try to make the stage 1

make stage1
-----------------------------------------------------------------------
.
mv: stamp-proto: Cannot access: No such file or directory
mv: gcc-cross: Cannot access: No such file or directory
mv: cc1plus: Cannot access: No such file or directory
mv: cc1obj: Cannot access: No such file or directory
mv: protoize: Cannot access: No such file or directory
mv: unprotoize: Cannot access: No such file or directory
*** Error code 1 (ignored)   /* is this ok ????/
rm -f stage1/libgcc.a
cp libgcc.a stage1
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib stage1/libgcc.a; else true; fi
---------------------------------------------------------------------------
Then I go ahead with make.

make CC="stage1/gcc -Bstage1/" CFLAGS="-g -o"
---------------------------------------------------------------------------
.
.
.
stage1/gcc -Bstage1/    -g -o     -I. -I. -I./config -c ./cexp.c
stage1/gcc -Bstage1/ -c    -g -o     -I. -I. -I./config version.c
stage1/gcc -Bstage1/ -c    -g -o     -I. -I. -I./config obstack.c
stage1/gcc -Bstage1/    -g -o   -o cccp cccp.o cexp.o version.o obstack.o ` case "stage1/gcc -Bstage1/" in "cc") echo  ;; esac `  
ld: cccp: No such file or directory
collect: /usr/bin/ld returned 4 exit status
*** Error code 1
make: Fatal error: Command failed for target `cccp' /* THIS IS THE BIG ERROR*/
-----------------------------------------------------------------------------

I follow the INSTALL intructions. 
What do I do wrong here?????

Please send your responses to .
uunet!mdcsc!ms

Mani Sanj
uunet!mdcsc!ms
Xref: sparky gnu.gcc.help:2266 comp.robotics:1979
From: yqdx@vax5.cit.cornell.edu
Newsgroups: gnu.gcc.help
Subject: GCC Install on IRIS w/ R4000: HOW?
Date: 11 Oct 92 16:56:44 EDT
Distribution: world
Organization: Cornell University

Hi-
  I successfully installed gcc-2.2.2 on a SUN about a month ago, and am
trying to do the same thing on an SGI IRIS Indigo Elan running the realtively
new R4000 (MIPS) CPU.  At the start I said "configure --target=mips-sgi".
It gets through stage 1 OK, but when I try to make the stage 2 compiler,
it chokes with a "gcc internal error."  I guess this is the first point at
which it attempt to make objective-C and C++, so this may be the stumbling
block.
  Is my "configure" statement incorrect?  Is ther R4000 chip not supported?
Have I missed some other subtlety?  Thanks in advance.
-Chris B.
yqdx@vax5.cit.cornell.edu

Newsgroups: gnu.gcc.help
From: rms@gnu.ai.mit.edu (Richard Stallman)
Subject: GCC for 3090/AIX?
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 7 Oct 1992 13:43:38 GMT

Amdahl never gave permission for the release of Chuck Simmons's port.
So we can't possibly use it, or anything based on it.
Please do not use it as the basis for any further work,
as we would be unable to use that work either.
Newsgroups: gnu.gcc.help
From: higgins@math.niu.edu
Subject: Have I done it all?
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 7 Oct 1992 07:14:38 GMT

I have installed gcc-2.2.2 and libg++-2.2 gottem from prep.ai.mit.edu
this AM. Am I done, or do I need to install the libc-1.xx stuff which 
is out there?

I'm on SPARC SunOS 4.1.1, and this seems to indicate that I should not
use the gas and gnu linker.

Thanks.


    _/_/_/_/ _/_/_/_/ _/    _/ | E. Gregory Higgins <higgins@math.niu.edu>
   _/       _/       _/    _/  | Systems Manager
  _/_/_/   _/  _/_/ _/_/_/_/   | Department of Mathematical Sciences
 _/       _/    _/ _/    _/    | Northern Illinois University
_/_/_/_/ _/_/_/_/ _/    _/     | DeKalb, IL 60115
Newsgroups: gnu.gcc.help
From: martin@mg.SUnet.SE (Martin Norin, Dept. Biochem., Royal Inst. Technol., Stockholm, tel. +46-8-7907512, e-mail; martin@physchem.kth.se)
Subject: gcc on the ESV.
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 12 Oct 1992 17:07:21 GMT


Dear GNU gurus,

I'm not on your mailing list and do not know how to subscribe. Hopefully
some coordinator can add me or send me help. 
Now to the real topic of this message:

I'm trying to compile gcc-2.2.2 on a Evans &Sutherland ESV10/33-workstation.
The computer has RISC3000, mips CPU, running under UNIX (System V with bsd
extensions). Since there is no alternative in the configure setup-file I
have tried different combinations which looks most close to a ESV.

The best one was "configure mips-sysv". At least it started to compile some
files. However it crached at "c-lex.c" with the error message "Segmentation
violation":

cfe: Fatal: c-lex.c: Segmentation violation
*** Error code 1

I have also tried MAKE CC="TERMCAP=x OBJS=x LIBFUNCTS=x STAGESTUFF=x cc"
, but it crashed again because of the same reasons.

If anyone have compiled gcc-2.2.2 and g++ on an ESV please let me know.
Also, any other hinst are welcome. Mail directly to me. I'm not subscribed to
the list yet (do not know how to do it).

Thanks for any help,
Martin Norin
KTH
Stockholm			e-mail:martin@physchem.kth.se
Newsgroups: gnu.gcc.help
From: tim@cs.city.ac.uk (Tim Wilkinson)
Subject: GCC-2.2.2 modification to make DSEG register offset
Organization: SARC, City University
X-Newsreader: Tin 1.1 PL5
Date: Fri, 9 Oct 92 14:16:32 GMT

Myself and others at City University are working on an operating system
project and are using GCC and G++ to develop our applications.  However,
we need to convert the compiler to make all references to data (ie. the
stuff in the .data section) to be made relative to a global register.  This
allows us to execute the same program many times in the same address space
whilst sharing the code.  The data is duplicated to different address, the
global register being altered as appropriate.

All works well except for one case.  For example:

file.c:-
=========================================================================
int a;
int *b = &a;

func()
{
	....
}
=========================================================================

In the above, the address of external `a' should be compiled into the program
in external `b'.  However, this cannot now be done because the data segments
actual address is unknown until the program is executed.
The solution is to make `int *b = &a' into a global constructor (even in C!)
so the assigment is done when the program is executed.  Unfortunately, I
am not sufficiently familure with GCC to know how to do this (and I have
made an attempt but considered it to be a hack so removed it again), and
the documentation I have says little about changing anything but the
compiler back-end.

Any suggestions of where/how to look/start/do it would be greatly appreciated.

Tim
--
  Tim Wilkinson                              E-mail: tim@cs.city.ac.uk
  Systems Architecture Research Centre,         Fax: +44 71 477 8587
  City University, London, UK.                  Tel: +44 71 477 8551
Newsgroups: gnu.gcc.help
From: wong@fraser.sfu.ca (Sam S. Wong)
Subject: C++ How do I print function addresses?
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Fri, 16 Oct 1992 20:00:48 GMT

Hi. I need some help.

I have class definition called ADC32.  This class has as a member, a public
function called display().

I have two data objects.  One is a variable of class ADC32 called slot1_adc,
the other is an array of 10 objects of class ADC32 called adc32.

The relevant code looks something like this:


//////////////////////
class ADC32 {
private:
  int id;
public:
  int display(void);
}

ADC32::display(void)
{
  cout << id;
}


ADC32 slot1_adc32, adc32[10];

main {
  cout << (int)&slot1_adc32.display;
  cout << (int)&adc32[1].display;
}
///////////////



My question is, is the last 2 lines correct for displaying the addresses of
those two functions?

If not, what would those 2 statements produce?


 
What I have found is that: (int)&slot1_adc32.display gives me the address of
ADC32::display() instead of a pointer to the address of ADC32::display().



I am trying to confirm that no space is allocated for an object's member 
functions.  In other words, while there is space allocated for slot1_adc32.id 
(4 bytes for an int), no space (for a function pointer) is allocated for 
slot1_adc32.display().  


what would be the result of:
"cout << (int)slot1_adc32.display;
 cout << (int)adc32[1].display;"    ?


Newsgroups: gnu.gcc.help
From: John_D._Sybalsky.MV@envos.xerox.COM
Subject: Re: Problem compiling inline assembler
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 15 Oct 1992 06:24:00 GMT

You'll need to change the format of the inline assembler code.  The gcc manual
is fairly good on this; roughly, you'll want something like:

extern inline ushort ntohs(register ushort val)
 {
    asm("rolw $8,%0" : (val) "=r" : (val) "0");
    return val;
  }

I'm sure I spazzed the format of the asm statement, but you get the idea....
Newsgroups: gnu.gcc.help
From: cmajor7@archi.snu.ac.kr
Subject: (none)
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 14 Oct 1992 18:59:00 GMT

I wonder you could help me about followings.

My thesis needs the informations that show how GCC detects and analyzes
the "Aliasing Problems".
I have some documents in "Using and Porting GNU CC (22 May 1992)",
but more detail ones needed.

Please, help my research by sending the parts of detail GCC documents
about "Aliasing Analysis".

Thank you...

P.S. My E-mail address is 'cmajor7@snuecc.snu.ac.kr' or
                          'cmajor7@delta.snu.ac.kr' or
                          'cmajor7@jupiter1.snu.ac.kr'
Newsgroups: gnu.gcc.help
From: ross@uunet.ca (Ross Ridge)
Subject: Compiling GCC on HP-PA and MIPS
Organization: UUNET Canada
Date: Sat, 17 Oct 1992 02:42:28 GMT

[ Disclaimer:  This has nothing to do with UUNET Canada ]

I couldn't get GCC 2.2.2 to compile on either on a HP 9000/817
or a MIPS box (RC3350?).  On both I used the system supplied
linker and assembler rather than gas and the GNU binutil's.
The HP died with an assembler error when compiling gnulib2.c
for the function "__fixunsdfsi".  The rather cryptic error
message was:

	as: /usr/tmp/cca03281.s @line#30 [err#1060]
	  Argument 1 or 3 in FARG upper
		 - lookahead = RTNVAL=gr

line number 30 was:

	.EXPORT __fixunsdfsi,PRIV_LEV=3,ARGW0=FR,ARGW1=FU,RTNVAL=GR

uname -a output for this machine is:

	HP-UX hp A.08.02 E 9000/817 764013161

The problems I had with the MIPS box, running RISCos, made me
think that this platform isn't supported.  I couldn't get it
to work with shared libraries because of the linker complaining
about an API incompatbility, when linking GCC compiled code.
I changed the LINK_SPEC to use static linking (-non_shared) instead,
and everything compiled and linked fine.  However, the GCC compiled
cpp bombed with an a illegal instruction apparently after having
branched off into the middle of nowhere.  I also had a problem
with linker not accepting "-G 0" but only "-G0".  "uname -a" output
for this machine is:

	RISCos arc 5.0 RISCos mips mips

I'm sorry I can't give more details, but I was doing this on a friend's
work's machines on the weekend so I don't have access to them now.  

						Ross Ridge
From: surendar@wpi.edu (Surendar C.)
Newsgroups: gnu.gcc.help
Subject: Constant pointers with ANSI C
Date: 15 Oct 92 15:45:46 GMT
Reply-To: surendar@cs.wpi.edu
Organization: Worcester Polytechnic Institute, Worcester MA 01609, USA.
NNTP-Posting-Host: ivy.wpi.edu
X-Newsreader: TIN [version 1.1 PL6]

Thanks to all who helped me clarify that char const * == const char *.
But I still don't get why the warning is given for one line and not the other.
Is the increment operator ++ any different from += 1;. I compiled this
under gcc 2.1 (-ansi -pedantic)

Thanks for any help
surendar

int length(const char *const str)
{
	int count = 0;

	while(*str)
	{
		str += 1; /* Get a warning here */
		str++;    /* Get no warning here */
		count++;
	}

	return(count);
}
From: cef@blistr.mwc.COM (Charles  Fiterman, Froggy)
Newsgroups: gnu.gcc.help
Subject: no subject (file transmission)
Date: 16 Oct 92 17:58:33 GMT
Distribution: gnu
Organization: GNUs Not Usenet

From cef
Subject: Trying to port to ESIX V.4
To: help-gcc@blistr.mwc.com
From: Charles (Froggy) Fiterman <cef@blistr.mwc.com>
X-Mailer: ELM [version 2.3 PL11]
Message-Id: <9210161049.AA01119@blistr.mwc.com>
Date: 16 Oct 92 10:49:14 

I want to port to ESIX V4 to do some code generation experiments. I run into
a series of problems and feel lost. What setup is  correct? The version I
have builds great .s output calls the as fine and core dumps. The .o files
can be used to produce good output.

Also what is really going on with bcopy() etc. When do we build it and when
do we use memcpy() cccp.c seems to want to use these but not build them. I
suspect I've got something #defined wrong.

By the way one of the code generation experiments I want to try is a new
keyword nodefault: for switch statements. It means if not compiled for
optomize and a default: occurs abort(). If compiled for optomize assume that
no default may occur and jump the rails if the programmer is wrong. I think
this will make C more usefull for simulators etc by reducing the overhead of
switch statements. In short it means "trust me" it must be one of the cases
don't check. If there are cases for 0, 4, 8, and 12 the expression may be
added to the start of a table with no compares or shifting, and a branch
taken if the programmer said "trust me" and was wrong tough. This may also
reduce some extrainious warnings about uninitialized variables.

I hope to have something usefull to add to gcc soon.
-- 
cef@mwc.com        Mark Williams Co       Philosophy is the art of
708-291-6700 x119  60 Revere Drive        misunderstanding terms in a
708-291-6750 FAX   Northbrook, Il 60062   specialized language, designed
Charles (Froggy) Fiterman		  for that purpose.
From: zessin@helena.rbi.informatik.uni-frankfurt.de (Ralf Zessin)
Newsgroups: gnu.gcc.help
Subject: Need help on HP700 with gcc2.2.2 ( const Items in CODE/DATA )
Date: 12 Oct 92 19:05:28 GMT

Hi world, like others,we have the problem with const Items in
Code/Data-Segments. I've heard about a patch for HP9000.

Could someone give me a pointer to solve the problem ?

Sorry, I've followed thi discussion about this item, but i doesn't find
the key to save articles :=(

	- Ralf
Newsgroups: gnu.gcc.help
Subject: HELP!  gcc-2.2.2 doesn't like ANSI-C?
From: edwin@ccu1.aukuni.ac.nz (Edwin Ng)
Date: Mon, 12 Oct 1992 18:56:31 GMT
Organization: University of Auckland, New Zealand.
Keywords: compiler error, built-in, ansi-c

I've just installed gcc-2.2.2 on my sparcstation running SunOS4.1.1.
I went through the installation twice and both times the stage1
and stage2 object codes were different but the resulting gcc
binary file was the same size.  The stage2 object files
were about twice the size of those in stage1. I didn't have 
anymore diskspace to do a stage3 compile.

The resulting gcc file seemed to compile fine except that it
gives me the following error when compiling ansi-c code:

	gcc -O -c lvq_pak.c
	In file included from lvq_pak.c:26:
	/usr/include/stdlib.h:18: conflicting types for `abort'
	<built-in>:0: previous declaration of `abort'
	/usr/include/stdlib.h:26: conflicting types for `exit'
	<built-in>:0: previous declaration of `exit'
	*** Error code 1
	make: Fatal error: Command failed for target `lvq_pak.o'

NOTE: line 26 is #include <stdlib.c>

What is <built-in>??

I had to use -traditional option to get pass this error but then
the compiler didn't like the rest of the ansi-c declarations
anymore?  

MTW this package lvq_pak-2.1 has been tested to compile
with gcc-2.2.2 under SunOS.  Also I get the same error
when compiling other programs as well.

Any help or advice would be greatly appreciated.  Thanks.

-----------------------------------------------------
* Edwin Ng                                          *
* Department of Electrical & Electronic Engineering *
* University of Auckland                            *
* Private Bag, Auckland                             *
* NEW ZEALAND                                       *
*                                                   *
* Fax: 64 9 366 0702                                *
* E-mail: edwin@ccu1.aukuni.ac.nz                   *
-----------------------------------------------------
Newsgroups: gnu.gcc.help