| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| NNTP-Posting-Date: | Sat, 21 Apr 2007 16:44:47 -0500 |
| Date: | Sat, 21 Apr 2007 14:44:47 -0700 |
| From: | Jim Michaels <jmichae3REMOVE AT THISPLEASEyahoo DOT com> |
| User-Agent: | Thunderbird 1.5.0.10 (Windows/20070221) |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: gmp.h from GMP package - how to include? |
| References: | <j4OdneZCoa5JkLXbnZ2dnUVZ_oupnZ2d AT comcast DOT com> <462873a0$1 AT news DOT upm DOT es> <262dnTAaCpMfMrTbnZ2dnUVZ_tqnnZ2d AT comcast DOT com> |
| In-Reply-To: | <262dnTAaCpMfMrTbnZ2dnUVZ_tqnnZ2d@comcast.com> |
| Message-ID: | <EvCdnTIj-a9SGLfbnZ2dnUVZ_u_inZ2d@comcast.com> |
| Lines: | 41 |
| NNTP-Posting-Host: | 24.20.110.103 |
| X-Trace: | sv3-c3ccQgu28h77KiESd1DNSXhscZOJsdxv1Rn9ex50dnAbFDsFfZFdC5hnroM9vxttn5wXtq+Ezn9DZ64!hXmNyoH7xoreHmqlmyFZjkI1fcagd888jthe4yWYD06noYueqPffwJJr/S4f5pXNgCmqyX9QzJRN!jCqEHvTYKOV1UPnZN8aOpg/q+r7duQ== |
| X-Complaints-To: | abuse AT comcast DOT net |
| X-DMCA-Complaints-To: | dmca AT comcast DOT net |
| X-Abuse-and-DMCA-Info: | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info: | Otherwise we will be unable to process your complaint properly |
| X-Postfilter: | 1.3.34 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Jim Michaels wrote: > Manuel Collado wrote: >> Jim Michaels escribió: >>> I extracted gmp412b.zip >>> unfortunately, I don't really know how to include the files. DJGPP >>> is odd in the way it is set up. >>> I found gmp.h extracted into f:/djgpp/2.03/v2gnu/include/gmp.h >> >> So you have dowloaded the gmp sources instead of the binaries. Please >> download and unpack gmp412b.zip. >> >> Regards. > > > I did. I had to go into the .env file and insert ;%DJENV%/v2gnu/include > and ;%DJENV%/v2gnu/lib in appropriate places. > > but now I can't link. > I get: > no errors > Creating: fract.exe > Error: fract.o:fract.cc:(.gnu.linkonce.t._ZN8fractionC1Ell+0xe): > undefined reference to `___gmpq_init' > Error: fract.o:fract.cc:(.gnu.linkonce.t._ZN8fractionC1Ell+0x24): > undefined reference to `___gmpq_set_si' > Error: fract.o:fract.cc:(.gnu.linkonce.t._ZN8fractionD1Ev+0xe): > undefined reference to `___gmpq_clear' > > by the way, I can at least now compile. sort of. it doesn't link - I get an error from ld. I included gmp.h #include <gmp.h> -- ------------------------------------ Jim Michaels for email, edit the address RAM Disk is *not* an installation method.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |