rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* yacc vs. bison
@ 1991-12-09 19:46 malte
  1991-12-10  1:40 ` Chris Siebenmann
  0 siblings, 1 reply; 2+ messages in thread
From: malte @ 1991-12-09 19:46 UTC (permalink / raw)
  To: rc

I just discovered that buildin rc with bison 1.14 on a sun elc sunos4.1.1
results in a smaller executable than buildin it with yacc.

And for those who want to build a rc for running scripts:
The fastest executable I built was linked with
	gcc -O -n ...
and without readline lib. Since -n implies -Bstatic, I assume this is due
to the inefficient implementation of the shared library stuff on sparc2
cpus.


_______________________________________________________________________________
malte@techfak.uni-bielefeld.de

send mail reply to:	Universitaet Bielefeld, Technische Fakultaet
		z. Hd. Malte Uhl
		Postfach 8640
		4800 Bielefeld 1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: yacc vs. bison
  1991-12-09 19:46 yacc vs. bison malte
@ 1991-12-10  1:40 ` Chris Siebenmann
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Siebenmann @ 1991-12-10  1:40 UTC (permalink / raw)
  To: rc

 Anything that forks() really, really wants to be linked -Bstatic
(or the equivalent) on StunnedOS 4. Not only will your program
start up a lot faster, it will do those fork()s about three times
faster.

	- cks


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1991-12-10  1:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-12-09 19:46 yacc vs. bison malte
1991-12-10  1:40 ` Chris Siebenmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).