Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6631753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:35:25+00:00 2026-05-25T22:35:25+00:00

I am trying to build boost 1.45 using a local GCC compiler installation. I

  • 0

I am trying to build boost 1.45 using a local GCC compiler installation. I can’t make it use a different compiler command that the default “g++”. Here what happened so far:

In boost_1_45_0 source directory:

./bootstrap.sh --with-toolset=gcc --prefix=$INSTALL/boost-$TYPE

Then added the following line to “projct-config.jam”:

using gcc : 4.4.6 : [absolute path]/install/gcc-4.4.6/bin/g++ : ;

./bjam install --prefix=$INSTALL/boost-$TYPE

When bringing up the process list during building, I can see that the system’s default compiler command g++ gets used.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:35:26+00:00Added an answer on May 25, 2026 at 10:35 pm

    The problem was a previous definition of using which got in the way. This solves the problem:

    project-config.jam:

    if ! gcc in [ feature.values <toolset> ]
    {
        using gcc : 4.4.6 : [absolute path]/install/gcc-4.4.6/bin/g++ : -L[absolute path]/install/gcc-4.4.6/lib64 -I[absolute path]/install/gcc-4.4.6/include ;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to build a project using Boost's Asio and I am having
Trying to build the following simple example #include <boost/python.hpp> using namespace boost::python; tuple head_and_tail(object
I'm trying to compile using a compiled Boost libs. I can compile using header-only
I am trying to make the installation of boost library a little bit slower,
I have built boost 1.44 on CentOS 5.5 using the gcc that is part
I was trying to build Boost C++ Libraries for last two hours and stopped
I'm trying to build a VxWorks boot loader that is PXE-bootable from Workbench, but
I trying to build and compile my xcodeproj in command line and it is
Im trying to build call to action button on my site using jQuery. I
In C++03, Boost's Foreach, using this interesting technique , can detect at run-time whether

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.