From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5ec8c2333db24f01 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-01 21:03:04 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: x24702@usma.edu (Zach Swanson) Newsgroups: comp.lang.ada Subject: Re: ImageMagick libs and Ada Date: 1 Feb 2002 21:03:03 -0800 Organization: http://groups.google.com/ Message-ID: <50c1a1b.0202012103.36bb64c6@posting.google.com> References: <50c1a1b.0202010746.3ee4bd7a@posting.google.com> NNTP-Posting-Host: 134.240.36.230 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1012626183 22283 127.0.0.1 (2 Feb 2002 05:03:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Feb 2002 05:03:03 GMT Xref: archiver1.google.com comp.lang.ada:19516 Date: 2002-02-02T05:03:03+00:00 List-Id: Stephen Leake wrote > GNAT provides a fully functional C compiler; use that instead of > Cygwin. It will be far easier to sort out the object and library > dependencies. The only reason that we're using cygwin at all is that the ImageMagick environment uses some arcane config scripts that have to be called under cygwin's gcc, the GNAT gcc is unable to resolve all the path names and other references. We would love to be able to do the entire thing without cygwin and just compile using GNAT, but in order to use ImageMagick functions we're limited in that respect. > > "In function 'GetImageMagick' magick.c:178: undefined reference to > > '__assert' > > Other values that the linker is unable to reconcile are __impure_ptr > > and __errno. > > Assert and errno are from the c library. __impure_ptr is from the > Cygwin emulation layer. Good to know where those are declared, thanks. Are there lib files that I can link against in my Ada code so that the GNAT compiler can resolve these issues? I've tried linking in libc but it didn't seem to do anything to help.