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

  • SEARCH
  • Home
  • 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 6371769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:07:43+00:00 2026-05-25T01:07:43+00:00

My gcc compiler is at a custom location /my/path/hpgcc I’ve downloaded the boost sources.

  • 0

My gcc compiler is at a custom location /my/path/hpgcc

I’ve downloaded the boost sources. Executed bootstrap.sh, but it fails because it runs with the default gcc.

Looking into it, I see that it fails at the first thing it does: building the Boost.Build engine:

gcc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c

(fails because executed with the default gcc, and not my gcc version).

I’ve tried to change the gcc path in the user-config.jam file, but it doesn’t help. Probably because the Boost.Build’s build script boost_1_47_0/tools/build/v2/engine/build.sh doesn’t use user-config.jam, and just uses the default locations.

Any solution?

  • 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-25T01:07:44+00:00Added an answer on May 25, 2026 at 1:07 am

    Add the line:

    using gcc : : /my/path/hpgcc ;
    

    to user-config.jam. user-config.jam will usually be in /path/to/boost/tools/build/v2/, but you can put a custom user-config.jam or site-config.jam in any of the places listed here.

    /my/path/hpgcc should be the full path to the g++ executable.


    EDIT (Igor Oks) : What eventually solved the problem is that I edited boost_1_47_0/tools/build/v2/engine/build.sh to make it use my custom gcc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a platform with a gcc compiler however boost cannot compile
This would probably be achieved in the linking stage of the GCC compiler? But
I compiled this (gcc compiler) : #include< stdio.h> main() { unsigned char ch; FILE
I compiled this (gcc compiler): #include <stdio.h> main() { struct { a:1; b:2; }
Is there a way to utilise the GCC compiler whilst still being able to
I am working on Linux with the GCC compiler. When my C++ program crashes
The v4 series of the gcc compiler can automatically vectorize loops using the SIMD
Do you know how strong VLIW architectures support exists in GCC compiler infrastructure? I
I'm using the Code::Blocks IDE with the GNU GCC compiler. struct test { char
I was working on a program in Netbeans on Linux using a gcc compiler

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.