comp.lang.ada
 help / color / mirror / Atom feed
From: x24702@usma.edu (Zach Swanson)
Subject: Re: ImageMagick libs and Ada
Date: 1 Feb 2002 21:03:03 -0800
Date: 2002-02-02T05:03:03+00:00	[thread overview]
Message-ID: <50c1a1b.0202012103.36bb64c6@posting.google.com> (raw)
In-Reply-To: uk7txvy4o.fsf@gsfc.nasa.gov

Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> 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.



  reply	other threads:[~2002-02-02  5:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-01 15:46 ImageMagick libs and Ada Zach Swanson
2002-02-01 16:05 ` Jeffrey Creem
2002-02-02  5:06   ` Zach Swanson
2002-02-02 12:48     ` Jeffrey Creem
2002-02-01 18:46 ` Stephen Leake
2002-02-02  5:03   ` Zach Swanson [this message]
2002-02-02 12:52     ` Zach Swanson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox