Boost logo

Boost-Build :

From: Chris Weed (chrisweed_at_[hidden])
Date: 2006-12-01 20:00:17


Hi,
I am using the gcc toolset to try and build an executable with the .C
extension. I get the error at the end of this email.
I tried just a simple executable in my Jamfile with boost-build, such as:

exe test : test.C ;

The rule compile.c++ in gcc seems to recognize .C extensions, so I am
wondering what I am doing wrong. I can't get this to work with
libraries full of .C files, either.

Chris

/local/home/cweed/software/temp/boost-build/build/generators.jam:916:
in ensure-type from module generators
error: target { main.C. } has no type
/local/home/cweed/software/temp/boost-build/build/generators.jam:1136:
in generators.construct from module generators
/local/home/cweed/software/temp/boost-build/build/targets.jam:1339: in
construct from module object(typed-target)@411
/local/home/cweed/software/temp/boost-build/build/targets.jam:1185: in
object(typed-target)@411.generate from module object(typed-target)@411
/local/home/cweed/software/temp/boost-build/build/targets.jam:759: in
generate-really from module object(main-target)@415
/local/home/cweed/software/temp/boost-build/build/targets.jam:735: in
object(main-target)@415.generate from module object(main-target)@415
/local/home/cweed/software/temp/boost-build/build-system.jam:298: in
load from module build-system
/local/home/cweed/software/temp/boost-build/kernel/modules.jam:261: in
import from module modules
/local/home/cweed/software/temp/boost-build/kernel/bootstrap.jam:132:
in boost-build from module
/local/home/cweed/software/temp/boost-build/boost-build.jam:1: in
module scope from module


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