On Sat, Sep 22, 2012 at 9:06 PM, Jürgen Hunold <jhunold@gmx.eu> wrote:
Hi Bo,

On Friday, 21. September 2012 08:59:05 Bo Jensen wrote:
> http://boost.2283326.n4.nabble.com/Problem-with-resource-files-on-Ubuntu-td2
> 685602.html
>
> Is this really the recommended solution i.e to add a resource compiler ?

Yes, I still think so.

> To
> the best of my knowledge there are no resource compiler on linux or how
> should that be handled, can anyone give me an example ?

The thread contains my example using mingw's resource compiler.

This is

/usr/bin/i586-mingw32msvc-windres -V
GNU windres (GNU Binutils) 2.20
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later
version.
This program has absolutely no warranty.

on my system (Kubuntu 12.04.0.1) and can be specified as

using gcc : 4.4~msvc
          : # compiler
            /usr/bin/i586-mingw32msvc-g++
          : # options
            <archiver>/usr/bin/i586-mingw32msvc-ar
            <rc>/usr/bin/i586-mingw32msvc-windres
          ;

windres had some limitations when I last used it on windows, so your mileage
may vary.

And you can always put "<rc>yourfancyscript" in there and use this to output a
dummy file or do anything you want.

I remember that the resource contains dll/exe version information, so the
chances are that you really need it one way or the other.

Yours,

Jürgen

Thank you for the reply Jürgen.
 
--
* Dipl.-Math. Jürgen Hunold  !
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold@gmx.eu             ! Germany
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build