| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| To: | "Kris Ray" <kris7778 AT yahoo DOT com> |
| Cc: | cygwin AT cygwin DOT com |
| Subject: | Re: CYGWIN - GMP compile problems |
| References: | <a8dl5l$59b$1 AT main DOT gmane DOT org> |
| From: | Andrew Markebo <flognat AT flognat DOT myip DOT org> |
| Date: | 03 Apr 2002 09:05:24 +0200 |
| In-Reply-To: | <a8dl5l$59b$1@main.gmane.org> |
| Message-ID: | <m3y9g5mfd7.fsf@flognat.myip.org> |
| Lines: | 36 |
| User-Agent: | Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
| MIME-Version: | 1.0 |
What does the link command look like?
Assuming something like
gcc -lgmp -o gmptest gmptest.o
-lgmp should be last.
/Andy
/ "Kris Ray" <kris7778 AT yahoo DOT com> wrote:
| When I try to compile the GMP library in cygwin, it works. However, when I
| try to "make" any of the programs in the "demos" folder, I get link errors.
| The link errors are all for the GMP functions. The messages are all
| something like "undefined reference - __gmpz_get_str", etc.
|
| any ideas on how to solve this problem?
|
| thanks,
| Kris
|
|
|
|
|
|
| --
| Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| Bug reporting: http://cygwin.com/bugs.html
| Documentation: http://cygwin.com/docs.html
| FAQ: http://cygwin.com/faq/
|
|
--
The eye of the beholder rests on the beauty!
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |