|
Boost-Build : |
From: janssoaf (mail_at_[hidden])
Date: 2004-06-23 07:22:48
--- In jamboost_at_[hidden], Vladimir Prus <ghost_at_c...> wrote:
> And does it work if, between the first and the second command *.res
is renamed
> to *.obj, as Reece suggested. Basically, his suggestion is good, and
the only
> question is whether the above link error is due to wrong extension,
or .res
> files have just different format........
I looked into windres options and found that the output format depends
on the file extension. It can be overwritten by using the option
--output-format (--output-format=coff in this case). I don't know,
however, if this helps to use msvc.jam and rc.jam together.
I got it to work by removing the duplicate registration of type RC and
changing the line
generators.register-standard rc.resource-compile : RC : OBJ(%_res) ;
to
generators.register-standard rc.resource-compile : RC : OBJ(%_res) :
<toolset>gcc ;
which isn't really a solution but works for now in my case.
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