delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/01/09/18:47:28

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and the Boost library?
Date: Thu, 09 Jan 2003 22:51:40 +0000
Lines: 21
Message-ID: <3E1DFCFC.375A7B86@phekda.freeserve.co.uk>
References: <db3559c4 DOT 0301091249 DOT 352a0699 AT posting DOT google DOT com>
NNTP-Posting-Host: 62.136.40.79
Mime-Version: 1.0
X-Trace: newsg1.svr.pol.co.uk 1042155292 27050 62.136.40.79 (9 Jan 2003 23:34:52 GMT)
NNTP-Posting-Date: 9 Jan 2003 23:34:52 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Roger Dahl wrote:
[snip]
> I'm trying to use the Regex++ part of the Boost library. The library
> compiles without any problems, but I get linker errors when I try to
> use it.
[snip]
> When I try to link with the library, I get the following errors:
> 
> >gpp.exe -O2 -Wall -L/djgpp/boost_1_29_0/libs/regex/build/gcc
> -lboost_regex -I/djgpp/boost_1_29_0 -o mapper.exe mapper.cpp
[snip]

Does it work if you put -lboost_regex at the end of the line? (GNU ld is a
one-pass linker, so order matters.)

Regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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