Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-02-26 09:39:51

Hi Zbynek,

> I am using the following definition with mingw:
> lib cppunit : : <name>libcppunit <search>c:/msys/1.0/local/lib/ ;
> However the command line generated contains
> -L"c:\msys\1.0\local\lib"
> and mingw does not find the library. It needs the slash at the end.
> d:\>g++ -L"c:\msys\1.0\usr\local\lib" -llibcppunit
> c:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe:
> cannot find -llibcppunit
> d:\>g++ -L"c:\msys\1.0\usr\local\lib\" -llibcppunit
> g++: no input files
> What can we do about it?

I would say this is a problem with mingw. Maybe, the best approach would be to
ask them about this behaviour. If they disagree it's a bug and refuse to
change the behaviour, we'll have to workaround. Otherise, we can either do
nothing or put a workaround now, and remove it later.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at