Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-01 01:06:37


PAL wrote:

> .rc --> {Resource compiler} --> .res --> {Resource-COFF converter} --> .o
> .obj
>
> In MinGW, Resource compiler is 'windres.exe', and Resource-COFF converter
> is 'res2coff.exe'.

It was mentioned that windres has an option to directly generated COFF output.
In fact, the mingw version I have has this option (though I don't have any RC
files to try it out).

> In MSVC, Resource compiler is 'RC.exe', and Resource-COFF converter is
> 'CVTRES.exe'.
> But they are not included in Microsoft Visual C++ Toolkit 2003 (free
> toolset).
>
> It

What do you mean by "it"?

> doesn't seem to add generators for rc files to msvc.jam since it maybe
> not a part of the toolset.

> Therefor I suggest keeping original rc.jam.

Well, the change was made because a user wanted to run msvc setup script
before invoking resource compiler. Do you think it's not reasonable idea?

> So that I could compile .rc
> files
> by invoking 'windres.exe' and 'res2coff.exe' while I use 'Microsoft
> Visual C++ Toolkit 2003' toolset.

I believe you can just pass "windres" as the name of resource compiler when
configuring msvc. Can you try this?

- Volodya

 


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