home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22827 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!nntp!jem
  3. From: jem@snakemail.hut.fi (Johan Myreen)
  4. Subject: Re: Can't get the GCC 2.3.3 to work right.  :(
  5. In-Reply-To: STDN%MARIST.bitnet@YaleVM.YCC.Yale.Edu's message of 5 Jan 1993 12:14:49 -0600
  6. Message-ID: <JEM.93Jan5225917@lk-hp-6.hut.fi>
  7. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  8. Nntp-Posting-Host: lk-hp-6.hut.fi
  9. Organization: Helsinki University of Technology, Finland
  10. References: <9301051814.AA29042@deepthought.cs.utexas.edu>
  11. Date: 05 Jan 93 20:59:16 GMT
  12. Lines: 21
  13.  
  14. In article <9301051814.AA29042@deepthought.cs.utexas.edu> STDN%MARIST.bitnet@YaleVM.YCC.Yale.Edu (Dan Newcombe) writes:
  15.  
  16. >Last night I installed the lib.so.4.2 stuff and gcc 2.3.3
  17. ..
  18. >was just stuff to make the other libraries.  I then untarred
  19. >gcc 2.3.3.  I was able to compile programs, but when I compiled
  20. >my xhello program (4 #include's and 5 lines of code) it gave me an
  21. >exec that was over 500K (using 2.2.2 the exec was about 15K!)
  22. >What would cause this?
  23.  
  24. I discovered I had to get a newer copy of ld when I upgraded to gcc
  25. 2.3.3. The old linker refused to link shared.
  26.  
  27. I would like to see the binutils package distributed with gcc, to
  28. avoid problems like this, and also because the assembler and the
  29. linker are closely related to the compiler (the compiler driver needs
  30. them.) Commercial compiler packages come with "batteries included."
  31.  
  32. --
  33. Johan Myreen
  34. jem@cs.hut.fi
  35.