Boost logo

Boost-Build :

From: Andrei Melnikov (andy.melnikov_at_[hidden])
Date: 2006-08-09 17:26:49

I needed a 64-bit unrar.dll to read rar archives in an x64 program.
But the official WinRAR website doesn't offer a 64-bit dll, only a 64
bit unrar.exe. And current makefiles from the source distribution
don't allow to build the dll.

So I created a Jamroot for it in 30 minutes. It took so long because
globbing didn't work. The source tree isn't a tree but a plain dir,
and some cpp files are #included instead of linking in.

The dll isn't tested yet, and I think there are some extra switches
and source files, but it compiles, links and its exports look ok. I
hope someone will find it useful and will port it to other operating
systems and toolsets. The source code is already portable, just the
Jamroot has to be ported because the library has OS-specific and
toolset-specific code. For example, os2ea.cpp #includes <os2.h> and
should be compiled only under that OS.

I wonder if we will be able to convince Rarlab to build Rar using BB.
It is ported to about 30 OSes, so the advantage of using BB would be
obvious if we will demonstrate the power of BB by creating a portable
Jamroot instead of multiple non human-writeable makefiles used by
Winrar at the moment.


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