Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-06-30 15:12:04

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'.
> In MSVC, Resource compiler is 'RC.exe', and Resource-COFF converter is
> But they are not included in Microsoft Visual C++ Toolkit 2003 (free

You shouldn't need a RES --> OBJ converter for Microsoft or Borland
compilers since their linkers support the RES format. I assume that other
Windows-based linkers do the same, except for the GCC toolset linker :(.

P.S. There is a resource compiler (rc.exe) as part of the PlatformSDK
available from the Microsoft site.

> It doesn't seem to add generators for rc files to msvc.jam since it
> not a part of the toolset.
> Therefor I suggest keeping original rc.jam. So that I could compile .rc
> by invoking 'windres.exe' and 'res2coff.exe' while I use 'Microsoft
> C++ Toolkit 2003' toolset.

What if you are using the VC++ Toolkit 2003 but don't have windres.exe and
res2coff.exe? If you have a version of the PlatformSDK in the search paths,
you will have rc.exe. Also, the Borland linker would have a problem with
this since it supports OMF not COFF!

Surely the easiest way would be to perform RC --> RES, then apply a specific
RES --> OBJ for GCC targets, or am I missing something?


Use MSN Messenger to send music and pics to your friends


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