|
Boost-Build : |
From: PAL (b84037_at_[hidden])
Date: 2003-10-21 09:57:02
------=_NextPart_001_0017_01C39826.A3D09180 Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
> I get
> error: Unable to resolve target-id /System//kernel32
>=20
> message. Which seems perfectly correct. I don't have any target with id o=
f
>=20
> /System//kernel32
>=20
> Did you meant to use filename as value of <library> feature? This is not=
=20
> supposed to work, the "prebuilt" targets provide a cleaner alternative.
>=20
Sorry, the sample is not a good one. I made it in a hurry.
So I prepare another one. I mean to use the target-id, not filename.
I didn't send you my library because you know,
the format of libraries we use are different.
And the library is not important...you can rename
the target-id to any exist prebuilt library.
I create three subfolders, 'test1', 'test2', and 'test3'.
The response file of 'test1', it is correct.
---------------------------------------------------------------
"..\out\test1\bin\Win32\msvc-6.0\debug\main-target-hello1\hello.obj" =
=20
kernel.lib=20=20
---------------------------------------------------------------
The response file of 'test2', I expect it should have
'kernel.lib' line like the one of 'test1'. But it doesn't.
---------------------------------------------------------------
"..\out\test2\bin\dummy\Win32\msvc-6.0\debug\hello.obj"
---------------------------------------------------------------
The 'test3' is terminated. So the following line may
do something strange...
-------------------------------------------------------------
feature.compose <dummy-feature>dummy : <library>/System/kernel ;
--------------------------------------------------------------
- Paul Lin ------=_NextPart_001_0017_01C39826.A3D09180 Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>--- In <A=20
href=3D"mailto:jamboost_at_[hidden]">jamboost_at_[hidden]</A>, Vlad=
imir=20
Prus <<A href=3D"mailto:ghost_at_c">ghost_at_c</A>...> wrote:</FONT></DIV>
<DIV><FONT size=3D2>> I get<BR>> error: Unable to resolve target-id=20
/System//kernel32<BR>> <BR>> message. Which seems perfectly correct. =
I=20
don't have any target with id of<BR>> <BR>> &n=
bsp;=20
/System//kernel32<BR>> <BR>> Did you meant to use filename as value o=
f=20
<library> feature? This is not <BR>> supposed to work, the "prebui=
lt"=20
targets provide a cleaner alternative.<BR>> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Sorry, the sample is not a good one. I made it in =
a=20
hurry.<BR>So I prepare another one. I mean to use the target-id, not=20
filename.<BR>I didn't send you my library because you know,<BR>the format o=
f=20
libraries we use are different.<BR>And the library is not important...you c=
an=20
rename<BR>the target-id to any exist prebuilt library.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I create three subfolders, 'test1', 'test2', and=20
'test3'.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>The response file of 'test1', it is=20
correct.<BR>---------------------------------------------------------------=
<BR>"..\out\test1\bin\Win32\msvc-6.0\debug\main-target-hello1\hello.obj"&nb=
sp; =20
<BR>kernel.lib =20
<BR>---------------------------------------------------------------</FONT><=
/DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>The response file of 'test2', I expect it should=20
have<BR>'kernel.lib' line like the one of 'test1'. But it=20
doesn't.<BR>---------------------------------------------------------------=
<BR>"..\out\test2\bin\dummy\Win32\msvc-6.0\debug\hello.obj"<BR>------------=
---------------------------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>The 'test3' is terminated. So the following line may<BR=
>do=20
something=20
strange...<BR>-------------------------------------------------------------=
<BR>feature.compose=20
<dummy-feature>dummy : <library>/System/kernel=20
;<BR>--------------------------------------------------------------</FONT><=
/DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>- Paul Lin</FONT></DIV></BODY></HTML>
------=_NextPart_001_0017_01C39826.A3D09180-- ------=_NextPart_000_0016_01C39826.A3D09180 Content-Type: application/octet-stream;
name="test.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="test.zip"
[Attachment content not displayed.] ------=_NextPart_000_0016_01C39826.A3D09180--
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