| 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 |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| To: | cygwin AT cygwin DOT com |
| From: | Andrew Markebo <andrew DOT markebo AT telia DOT com> |
| Subject: | Re: g++ linking probs |
| Date: | Thu, 20 Feb 2003 10:16:03 +0100 |
| Lines: | 12 |
| Message-ID: | <m3smuj5n3g.fsf@telia.com> |
| References: | <5575473D4532D411BE4C009027E8C8380AB81505 AT masblrexc02 DOT mascotsystems DOT com> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT main DOT gmane DOT org |
| User-Agent: | Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 |
| Cancel-Lock: | sha1:9AeFiIN3av1jPMjGYdiDZCwLQFI= |
/ Manu Anand <ManuA AT mascotsystems DOT com> wrote:
| Guys
| I am linking a simple C++ program with an external library using
| g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
| -lcppunit prog.cxx
Try throwing -lcppunit _after_ prog.cxx
/Andy
--
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 |