|
Boost-Build : |
Subject: Re: [Boost-build] Lib rule does not seem to work
From: Klemens Morgenstern (klemens.morgenstern_at_[hidden])
Date: 2015-08-07 03:59:28
Am 07.08.2015 um 02:21 schrieb Edward Diener:
> On 8/6/2015 4:53 PM, Klemens Morgenstern wrote:
>> Hi friends,
>>
>> I am currently working on a small library and I seem to be to stupid to
>> build libraries. I am using mingw (5.1) or gcc-arm (4.9). The install
>> rule only copies the cpp-files and it does not build anything.
>>
>> Does anyone know what could be wrong with that?
>>
>> Thanks,
>>
>> Klemens
>>
>> PS: The project is located here:
>> https://github.com/MorgWal/mw.test/tree/design
>>
>>
>> Jamroot.jam
>> --------------------------------------------
>> import gcc ;
>> boost_path = F:/boost-arm ;
>>
>> project
>> : source-location ./src
>> : requirements
>> <include>$(boost_path)/include/boost-1_58
>> <include>./include
>> <search>$(boost_path)/lib
>> <cxxflags>-std=c++1y
>> <link>static
>> ;
>>
>> lib json_backend : mw/json_test_backend.cpp : <debug-symbols>on ;
>> lib gdb_backend : mw/gdb_test_backend.cpp : <debug-symbols>off ;
>>
>> install backends : json_backend gdb_backend ;
>
> Use the -d switch to see what the build is doing. Using -d2 on the
> command line is usually a good start.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
Alright that is what I see with -d3 - I don't get it. The path is
correct, it just doesn't build the library.
F:\expspace\mw.test>b2 toolset=gcc -d3
make -- all
make -- all
time -- all: unbound
make -- <psrc>mw\json_test_backend.cpp
make -- <psrc>mw\json_test_backend.cpp
bind -- <psrc>mw\json_test_backend.cpp:
src\mw\json_test_backend.cpp
time -- <psrc>mw\json_test_backend.cpp: 2015-08-06
20:17:56.971019000 +
0000
made* stable <psrc>mw\json_test_backend.cpp
make -- <psrc>mw\gdb_test_backend.cpp
make -- <psrc>mw\gdb_test_backend.cpp
bind -- <psrc>mw\gdb_test_backend.cpp: src\mw\gdb_test_backend.cpp
time -- <psrc>mw\gdb_test_backend.cpp: 2015-08-04
19:49:51.211639800 +0
000
made* stable <psrc>mw\gdb_test_backend.cpp
make -- <pbackends>json_test_backend.cpp
make -- <pbackends>json_test_backend.cpp
bind -- <pbackends>json_test_backend.cpp:
backends\json_test_backend.cp
p
time -- <pbackends>json_test_backend.cpp: 2015-08-06
20:43:39.429820000
+0000
make -- backends
make -- backends
time -- backends: 2015-08-06 20:43:39.455273000 +0000
made stable backends
made* stable <pbackends>json_test_backend.cpp
make -- <pbackends>gdb_test_backend.cpp
make -- <pbackends>gdb_test_backend.cpp
bind -- <pbackends>gdb_test_backend.cpp:
backends\gdb_test_backend.cpp
time -- <pbackends>gdb_test_backend.cpp: 2015-08-06
20:43:39.456271600
+0000
made* stable <pbackends>gdb_test_backend.cpp
make -- <l./gcc-mingw-5.1.0/debug/link-static>json_backend
make -- <l./gcc-mingw-5.1.0/debug/link-static>json_backend
time -- <l./gcc-mingw-5.1.0/debug/link-static>json_backend: unbound
made stable <l./gcc-mingw-5.1.0/debug/link-static>json_backend
make --
<l./gcc-mingw-5.1.0/debug/debug-symbols-off/link-static>gdb_bac
kend
make --
<l./gcc-mingw-5.1.0/debug/debug-symbols-off/link-static>gdb_bac
kend
time --
<l./gcc-mingw-5.1.0/debug/debug-symbols-off/link-static>gdb_bac
kend: unbound
made stable
<l./gcc-mingw-5.1.0/debug/debug-symbols-off/link-static>gdb_bac
kend
made stable all
...found 8 targets...
F:\expspace\mw.test>b2 toolset=gcc -d3
make -- all
make -- all
time -- all: unbound
make -- <psrc>mw\json_test_backend.cpp
make -- <psrc>mw\json_test_backend.cpp
bind -- <psrc>mw\json_test_backend.cpp:
src\mw\json_test_backend.cpp
time -- <psrc>mw\json_test_backend.cpp: 2015-08-06
20:17:56.971019000 +0000
made* stable <psrc>mw\json_test_backend.cpp
make -- <psrc>mw\gdb_test_backend.cpp
make -- <psrc>mw\gdb_test_backend.cpp
bind -- <psrc>mw\gdb_test_backend.cpp: src\mw\gdb_test_backend.cpp
time -- <psrc>mw\gdb_test_backend.cpp: 2015-08-04
19:49:51.211639800 +0000
made* stable <psrc>mw\gdb_test_backend.cpp
make -- <pbackends>json_test_backend.cpp
make -- <pbackends>json_test_backend.cpp
bind -- <pbackends>json_test_backend.cpp:
backends\json_test_backend.cpp
time -- <pbackends>json_test_backend.cpp: missing
make -- backends
make -- backends
time -- backends: missing
made+ missing backends
made+ update <pbackends>json_test_backend.cpp
make -- <pbackends>gdb_test_backend.cpp
make -- <pbackends>gdb_test_backend.cpp
bind -- <pbackends>gdb_test_backend.cpp:
backends\gdb_test_backend.cpp
time -- <pbackends>gdb_test_backend.cpp: missing
made+ update <pbackends>gdb_test_backend.cpp
make -- <l./gcc-mingw-5.1.0/debug/link-static>json_backend
make -- <l./gcc-mingw-5.1.0/debug/link-static>json_backend
time -- <l./gcc-mingw-5.1.0/debug/link-static>json_backend: unbound
made stable <l./gcc-mingw-5.1.0/debug/link-static>json_backend
make --
<l./gcc-mingw-5.1.0/debug/debug-symbols-off/link-static>gdb_backend
make --
<l./gcc-mingw-5.1.0/debug/debug-symbols-off/link-static>gdb_backend
time --
<l./gcc-mingw-5.1.0/debug/debug-symbols-off/link-static>gdb_backend: unbound
made stable
<l./gcc-mingw-5.1.0/debug/debug-symbols-off/link-static>gdb_backend
made update all
...found 8 targets...
...updating 3 targets...
common.mkdir backends
if not exist "backends\\" mkdir "backends"
common.copy backends\json_test_backend.cpp
copy /b "src\mw\json_test_backend.cpp" +
this-file-does-not-exist-A698EE7806899E69 "backends\json_test_backend.cpp"
src\mw\json_test_backend.cpp
1 Datei(en) kopiert.
common.copy backends\gdb_test_backend.cpp
copy /b "src\mw\gdb_test_backend.cpp" +
this-file-does-not-exist-A698EE7806899E69 "backends\gdb_test_backend.cpp"
src\mw\gdb_test_backend.cpp
1 Datei(en) kopiert.
...updated 3 targets...
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk