Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!gatech!mcnc!thorin!hatteras!mccabe From: mccabe@hatteras.cs.unc.edu (Daniel McCabe) Newsgroups: comp.os.minix Subject: Re: Mac: gcc-ar fix and library rebuilds Message-ID: <17741@thorin.cs.unc.edu> Date: 25 Nov 90 16:28:28 GMT References: <742@pdxgate.UUCP> Sender: news@thorin.cs.unc.edu Reply-To: mccabe@hatteras.cs.unc.edu (Daniel McCabe) Organization: University Of North Carolina, Chapel Hill Lines: 16 There appears to be a bug in one of the Makfiles distributed with the library source. In particular, if you invoke Makefile.32, it will build crtso.o rather than crtso32.o. Change the Makefile.32 to build the latter. If you build both in succession with the buggy Makefiles, then the last crtso.o that you built will be the one you get (most likeley the 32 bit version). Linking a 32 bit libreary with 16 bit object code is likely to wreak other havoc as well. As a check, make sure that for every *.o that you made, that there is a *32.o. A similar comment applies to *.a and *32.a. At this time, the only one that doesn't get made is crtso32.o (it gets called crtso.o, which is for 16 bit code, not 32 bit code). Cheers, danm