🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #720

gcc and X11-R5-P21 woes

#720
From: Rick Cochran
Date: Tue, 29 Dec 1992 20:20
33 lines
1970 bytes
I'm trying to make a decision as to whether to use gcc instead of
Sun's ANSI C for which they are stupidly trying to charge universities
per-machine license fees.

If I can't successfully build an "ALL gcc" (including shared libraries) X11,
then I have to give up and pay Sun.

I installed the patches in gcc-2.3.2/README.X11.  After changing "syslimits.h"
to "sys/limits.h" in limits.h, everything compiles, but NO executables build:

gcc -fpcc-struct-return -o xeyes xeyes.o Eyes.o transform.o -O2   -L../.././lib/Xmu -lXmu -L../.././lib/Xt -L../.././extensions/lib -L../.././lib/X -L../.././lib/Xt -lXt -L../.././extensions/lib -lXext -L../.././extensions/lib -lXext -L../.././lib/X -lX11 -L/usr/local/X11R5/lib -lm  
collect: /usr/bin/ld terminated with signal 11 [Segmentation fault]

A segmentation fault is a little difficult to diagnose.  The time I'm
spending getting things to work which should work out of the box but
don't is begining to cost more than just forking out the money for
commercial versions.

Is it time to give up yet?

Can't freeware do a little better than this?

I am using SunOS 4.1.1.

Please copy followups (if any) to my email address.

|Rick Cochran		  607-255-7223		     rick@msc.cornell.edu|
|Cornell Materials Science Center		     rick@crnlmsc2.bitnet|
|E20 Clark Hall, Ithaca, N.Y. 14853	     cornell!msc.cornell.edu!rick|
-- 
|Rick Cochran		  607-255-7223		     rick@msc.cornell.edu|
|Cornell Materials Science Center		     rick@crnlmsc2.bitnet|
|E20 Clark Hall, Ithaca, N.Y. 14853	     cornell!msc.cornell.edu!rick|
Technical Details
Message-ID: <1992Dec29.202018.14007@msc.cornell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!rochester!cornell!batcomputer!lynx@msc.cornell.edu!rick

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!rochester!cornell!batcomputer!lynx@msc.cornell.edu!rick
From: rick@msc.cornell.edu (Rick Cochran)
Newsgroups: gnu.gcc.help
Subject: gcc and X11-R5-P21 woes
Message-ID: <1992Dec29.202018.14007@msc.cornell.edu>
Date: 29 Dec 92 20:20:18 GMT
Sender: news@msc.cornell.edu
Organization: Cornell-Materials-Science-Center
Lines: 33