home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6264 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.5 KB  |  41 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!caen!sol.ctr.columbia.edu!ira.uka.de!gmd.de!Germany.EU.net!mcsun!sun4nl!dutrun!donau!dutecaj.et.tudelft.nl!linstee
  3. From: linstee@dutecaj.et.tudelft.nl (Erik van Linstee)
  4. Subject: Re: problem with gcc -Zomf
  5. Message-ID: <1992Nov06.212157.9431@donau.et.tudelft.nl>
  6. Sender: news@donau.et.tudelft.nl (UseNet News System)
  7. Nntp-Posting-Host: dutecaj.et.tudelft.nl
  8. Organization: Delft University of Technology, Dept. of Electrical Engineering
  9. References: <1992Nov06.194808.8252@donau.et.tudelft.nl>
  10. Date: Fri, 06 Nov 1992 21:21:57 GMT
  11. Lines: 28
  12.  
  13. linstee@dutecaj.et.tudelft.nl (Erik van Linstee) writes:
  14.  
  15. >Today I tried to recompile several apps, using -Zomf and -Zmt
  16. >to reduce executable size. However, I  got errors that are
  17. >not there when compiling without those options.
  18.  
  19. [stuff deleted]
  20.  
  21. >zip (from info-zip) gives:
  22.  
  23. >        gcc -O2 -m486 -s -o zip.exe zip.def zip.o zipfile.o zipup.o fileio.o uti
  24. >l.o  globals.o deflate.o trees.o bits.o   os2zip.o   -los2 -Zmt
  25. >fileio.o: Undefined symbol _errno referenced from text segment
  26.  
  27. Forget about the info-zip bit, it is solved. Turns out fileio.c is
  28. compiled twice with different defines, and it declares errno
  29. twice. ld seems to have no problem with that, while link386
  30. does.
  31.  
  32. Erik
  33.  
  34.  
  35.  
  36. -- 
  37. Erik van Linstee   |   Delft University of Technology   |   I'll be back ... 
  38. ----
  39.    We are god, 'cause only we can create the idea of his existence
  40.    in our holy brains...  (Yello)
  41.