Boost logo

Boost-Build :

From: Steven Solie (ssolie_at_[hidden])
Date: 2004-09-08 11:11:53


Rene Rivera wrote:
>> For example, I want to build the graph library examples. I cd to
>> the examples directory and type bjam but it complains about a
>> missing subproject rule. Seems I can only run bjam from the root
>> of Boost.
> It's not supposed to be complaining. Do you have the entire Boost
> tree? Specifically do you have the "[boost-root]/tools/build/v1"
> directory? What is the exact error message? What directories does
> it say it search for the Boost.Build system? Perhaps the directory
> searching is broken on AmigaOS.

OK, I've narrowed down the problem to AmigaOS path handling. For
starters, I don't understand what the build.jam file is trying to
tell me here:

# Platform related specifics.
if $(NT) { rule .path { return "$(<:J=\\)" ; } }
else if $(OS2) { rule .path { return "$(<:J=\\)" ; } }
else if $(VMS) { rule .path { return "[.$(<:J=/)]" ; } }
else if $(MAC) { rule .path { return ":$(<:J=\:)" ; } }
else { rule .path { return "$(<:J=/)" ; } }

if $(VMS) { . = "_" ; } else { . = "." ; }

In AmigaOS land, the path seperator is / (slash) and so is the DOTDOT
operator. The DOT operator should be "" (two double quotes) for
current directory. Finally, the volume is denoted with a : (colon).

For example,
SYS:C/List == SYS volume/disk, C directory, List file name

I'll post some of the debug output when I get a chance after playing
around with it some more later today.

 


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