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
>'CVTRES.exe'.
> But they are not included in Microsoft Visual C++ Toolkit 2003 (free
>toolset).

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
>maybe
> not a part of the toolset.
> Therefor I suggest keeping original rc.jam. So that I could compile .rc
>files
> by invoking 'windres.exe' and 'res2coff.exe' while I use 'Microsoft
>Visual
> 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?

Regards,
Reece

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger

 


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