Boost logo

Boost-Build :

From: janssoaf (mail_at_[hidden])
Date: 2004-06-30 03:23:22


--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
>
> As subject say, RC support should be fixed now on all toolsets. The
problem we
> had that there were some duplicate definitions between msvc.jam and
rc.jam.
> I've took the simplest route and changed msvc-specific generator so
that it
> converts from RC to OBJ (not to RES), and after than tweaked
generator
> priority, so on msvc, msvc.compile.rc is used, and on other toolsets
the one
> in rc.jam is used.

As I wrote in another post the gcc linker might accept RES files if
the option --output-format=coff is used when calling windres.

> I'd be interested to know if this fixes the problems -- for me the
issued
> commands seems OK, but who knows?

I'm going to test it but with the latest CVS version I can't build a
single project with msvc because of error messages like

C:/Development/Boost-Build/build\targets.jam:1157: in construct from
module object(exe-target-class)@1
error: unable to construct Source/Bison/Bison
C:/Development/Boost-Build/build\targets.jam:1025: in
object(exe-target-class)@1.generate from module ob
ject(exe-target-class)@1
C:/Development/Boost-Build/build\targets.jam:546: in generate-really
from module object(main-target)@2
C:/Development/Boost-Build/build\targets.jam:519: in
object(main-target)@2.generate from module object(main-target)@2
C:/Development/Boost-Build/build\targets.jam:203: in
object(project-target)@35.generate from module obj
ect(project-target)@35
C:/Development/Boost-Build/build\targets.jam:203: in
object(project-target)@1.generate from module object(project-target)@1
C:/Development/Boost-Build\build-system.jam:151: in load from module
build-system
C:\Development\Boost-Build/kernel\modules.jam:259: in import from
module modules
C:\Development\Boost-Build/kernel/bootstrap.jam:120: in boost-build
from module
D:\TBLib\boost-build.jam:1: in module scope from module

I also have a local change in rc.jam because resource file scanning
doesn't always work correctly. I've never submitted a patch. What is
the best way to do it?

Regards, Olaf

 


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