Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!swrinde!kent From: kent@swrinde.nde.swri.edu (Kent D. Polk) Newsgroups: comp.sys.amiga.tech Subject: Re: Compiling shared libraries with Aztec 5.0*d* Message-ID: <283@swrinde.nde.swri.edu> Date: 14 Dec 90 15:06:52 GMT References: <1990Dec14.030337.11636@mtiame.mtia.oz> Sender: news@swrinde.nde.swri.edu Organization: Southwest Research Institute, San Antonio, Texas Lines: 49 In article <1990Dec14.030337.11636@mtiame.mtia.oz> jep@mtiame.mtia.oz (Jesper Peterson) writes: > >Has anyone tried to compile a shared library with Aztec 5.0d? Something >seems to have been broken between 5.0a and the later releases. I'd >like to hear other users experiences before putting in a bug report >to Manx. >Can anyone confirm that this happens to them also? Possibly try recompiling >your favourite library? 1) m8.lib is broken (scanf(), etc.). Use an earlier library. I put in a bug report about the m8.lib and they agreed: it is broken. (Why is m8.lib broken on every other release? Grrrrr) 2) Something is dreadfully wrong when you use the small functions.h in conjunction with the C= 2.0 includes. First of all, I got all sorts of include errors, so I hacked on functions.h & even chunked it and used the supplied prototypes in the C= includes. All my software broke. I get a rash of invalid memory accesses (according to cputrap) whenever I call a shared library function. Note the similarity with my last posting about the gadget library? ... When I mentioned this problem to Manx tech support, they said that everything they compile works. --------------------------------------------------------------------- I went back to the old Manx includes, functions.h, and the old m8.lib, recompiled with the 5.0d cc and ln, and all of my software which doesn't use new 2.0 stuff is working again. So: - cc and ln seem to work, - m8.lib doesn't - only the old-style functions.h and the old include files seem to work properly, since cc appears to generate improper code without them. >Smart-ass remarks from Lattice users will be ignored. Agreed :^) --------------------------------------------------------------------- Q#1 to Manx will be: How do you use the small functions.h and the 2.0 includes, since nothing I try can even compile as distributed? Q#2: Did you guys even TRY compiling any 2.0-specific source? (Ok, maybe I won't ask that question.) ==================================================================== Kent Polk - Southwest Research Institute - kent@swrinde.nde.swri.edu "Well... can't you get a Novell card for your Cray ?" ====================================================================