delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/04/20/20:52:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 20 Apr 2007 20:52:11 -0400
Message-Id: <200704210052.l3L0qBTO019645@localhost.localdomain>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <nPydnQ-Er9GGw7TbnZ2dnUVZ_uiknZ2d@comcast.com> (message from Jim
Michaels on Fri, 20 Apr 2007 17:42:59 -0700)
Subject: Re: missing ANSI functions in memory.h
References: <mo2dnaEnpYOFn7jbnZ2dnUVZ_segnZ2d AT comcast DOT com> <58kegmF2gqrdnU1 AT mid DOT individual DOT net> <6fidncRj4KsWiLjbnZ2dnUVZ_vfinZ2d AT comcast DOT com> <58ks5tF2h2tf9U3 AT mid DOT individual DOT net> <va6dnRN0IZOIULrbnZ2dnUVZ_sTinZ2d AT comcast DOT com> <58qe0mF2i279jU1 AT mid DOT individual DOT net> <J_2dndocctvyhLXbnZ2dnUVZ_sDinZ2d AT comcast DOT com> <nPydnQ-Er9GGw7TbnZ2dnUVZ_uiknZ2d AT comcast DOT com>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> I don't know what DJ did to build these binaries, but he did
> something really special and seemingly undocumented.

./configure
make
make install

> I can't get any builds to work without generating errors.  DJGPP in
> itself is a huge undertaking, and I am very thankful for the port
> effort though.

Keep in mind, many of those binaries were built a long time ago, with
different versions of the tools.  DJGPP is not the only project having
trouble with stricter compilers and other tools.

> I can compile stuff if it's using standard libraries, but not with
> gmp.  it can't find gmp.h and it's in the v2gnu/include directory.

It's in c:\djgpp\include ?

DJGPP doesn't use a "v2gnu" directory *anywhere* so you must have used
a nonstandard unzip program which included the zip file's path and/or
name as part of the installation path.  If so, you didn't install it
correctly.  Please use the unzip32 program on the djgpp ftp site, and
unzip all the zips from the *same* directory.

I checked the gmp*b.zip file, and it has these contents:

        0  01-03-03 17:53   include/
    14102  01-03-03 17:53   include/mpfr.h
     5217  01-03-03 17:53   include/mpf2mpfr.h
   182330  01-03-03 17:53   include/gmpxx.h
    29110  01-03-03 17:53   include/mpfrxx.h
    81693  01-03-03 17:53   include/gmp.h
     5847  01-03-03 17:53   include/mp.h

So, if you installed it according to the instructions, gmp.h should be
in c:\djgpp\include\gmp.h (assuming $DJGPP points to c:\djgpp)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019