home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / help / 2828 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.9 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!rutgers!rochester!cornell!batcomputer!lynx@msc.cornell.edu!rick
  2. From: rick@msc.cornell.edu (Rick Cochran)
  3. Newsgroups: gnu.gcc.help
  4. Subject: gcc and X11-R5-P21 woes
  5. Message-ID: <1992Dec29.202018.14007@msc.cornell.edu>
  6. Date: 29 Dec 92 20:20:18 GMT
  7. Sender: news@msc.cornell.edu
  8. Organization: Cornell-Materials-Science-Center
  9. Lines: 33
  10.  
  11. I'm trying to make a decision as to whether to use gcc instead of
  12. Sun's ANSI C for which they are stupidly trying to charge universities
  13. per-machine license fees.
  14.  
  15. If I can't successfully build an "ALL gcc" (including shared libraries) X11,
  16. then I have to give up and pay Sun.
  17.  
  18. I installed the patches in gcc-2.3.2/README.X11.  After changing "syslimits.h"
  19. to "sys/limits.h" in limits.h, everything compiles, but NO executables build:
  20.  
  21. 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  
  22. collect: /usr/bin/ld terminated with signal 11 [Segmentation fault]
  23.  
  24. A segmentation fault is a little difficult to diagnose.  The time I'm
  25. spending getting things to work which should work out of the box but
  26. don't is begining to cost more than just forking out the money for
  27. commercial versions.
  28.  
  29. Is it time to give up yet?
  30.  
  31. Can't freeware do a little better than this?
  32.  
  33. I am using SunOS 4.1.1.
  34.  
  35. Please copy followups (if any) to my email address.
  36.  
  37. |Rick Cochran          607-255-7223             rick@msc.cornell.edu|
  38. |Cornell Materials Science Center             rick@crnlmsc2.bitnet|
  39. |E20 Clark Hall, Ithaca, N.Y. 14853         cornell!msc.cornell.edu!rick|
  40. -- 
  41. |Rick Cochran          607-255-7223             rick@msc.cornell.edu|
  42. |Cornell Materials Science Center             rick@crnlmsc2.bitnet|
  43. |E20 Clark Hall, Ithaca, N.Y. 14853         cornell!msc.cornell.edu!rick|
  44.