|
Boost-Build : |
From: pal.tw (b84037_at_[hidden])
Date: 2004-07-01 21:05:44
> > > Surely the easiest way would be to perform RC --> RES, then
apply a
> > > specific RES --> OBJ for GCC targets, or am I missing something?
> >
> >Now we have RC->OBJ convertion, which should work everywhere. We
can have
> >RC->RES and special RES->OBJ for GCC but that's more complex. Is
there a
> >reason to prefer it?
>
> Not really. Only that the developer may have tools that
read/use .res files.
> I was also unaware of how MS link.exe handles .res files.
>
-------------------------------------------------------------
generators.register-standard msvc.compile.rc : RC : OBJ(%_res) :
<toolset>msvc : <toolset>msvc ;
-------------------------------------------------------------
Even if the extension of the output file is .obj, it is still
a .res file. 'link.exe' can recognize this file format and invoke
'cvtres.exe'. Or the following error message will appear...
-------------------------------------------------------
LINK : fatal error LNK1158: cannot run 'cvtres.exe'
-------------------------------------------------------
-- PAL
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