Opened 17 years ago

Closed 16 years ago

#408 closed Support Requests (Fixed)

Configure options (CCFLAGS, LDFLAGS) ignored in build ?

Reported by: nobody Owned by: nobody
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

Hi,

on our Red Hat Enterprise Linux 3.0 Opteron Machine the
g++ is configured to produce 64-bit binaries. When
trying to build 32-bit objects via the "-m32" compiler
and linker options, the boost build mechanism simply
seems to ignore the option provided.
Interestingly one can provide this option to the
configure script but in it's output (the user.hpp file)
the option only appears as a comment.
It seems to get completely ignored in the subsequent
build and test
stages !

Is this true or am I missing some way to configure
things here ?
How can I supply special compile/link options to the
build/test
stages of the boost build process ???

Thanks in advance

Frank-Oliver

Change History (3)

comment:1 by nobody, 17 years ago

Logged In: NO 


Boost's build system is opposed to the usual gnu
configure/build/make semantics. Easy modification via
setting things like CFLAGS is not going to work.

sorry

comment:2 by redi, 17 years ago

Logged In: YES 
user_id=426241

You could try:

bjam -sTOOLS=gcc -sGXX="g++ -m32"  stage

this will use "g++ -m32" as the compiler


comment:3 by René Rivera, 16 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.