home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- 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
- From: linstee@dutecaj.et.tudelft.nl (Erik van Linstee)
- Subject: Re: problem with gcc -Zomf
- Message-ID: <1992Nov06.212157.9431@donau.et.tudelft.nl>
- Sender: news@donau.et.tudelft.nl (UseNet News System)
- Nntp-Posting-Host: dutecaj.et.tudelft.nl
- Organization: Delft University of Technology, Dept. of Electrical Engineering
- References: <1992Nov06.194808.8252@donau.et.tudelft.nl>
- Date: Fri, 06 Nov 1992 21:21:57 GMT
- Lines: 28
-
- linstee@dutecaj.et.tudelft.nl (Erik van Linstee) writes:
-
- >Today I tried to recompile several apps, using -Zomf and -Zmt
- >to reduce executable size. However, I got errors that are
- >not there when compiling without those options.
-
- [stuff deleted]
-
- >zip (from info-zip) gives:
-
- > gcc -O2 -m486 -s -o zip.exe zip.def zip.o zipfile.o zipup.o fileio.o uti
- >l.o globals.o deflate.o trees.o bits.o os2zip.o -los2 -Zmt
- >fileio.o: Undefined symbol _errno referenced from text segment
-
- Forget about the info-zip bit, it is solved. Turns out fileio.c is
- compiled twice with different defines, and it declares errno
- twice. ld seems to have no problem with that, while link386
- does.
-
- Erik
-
-
-
- --
- Erik van Linstee | Delft University of Technology | I'll be back ...
- ----
- We are god, 'cause only we can create the idea of his existence
- in our holy brains... (Yello)
-