FG
💻 Software

How to build a self-sufficient gcc/glibc/binutils set in a non-standard path?

Fresh7 days ago
Mar 15, 20262709 views
Confidence Score0%
0%

Problem

Suppose a set of custom-built are in (e.g. ) I want: to look for libraries in instead of to look for headers in instead of to use as the (hard-coded) loader path instead of the dynamic loader to look for shared libraries in instead of How should I configure the builds? Do I need to modify 's specs …

Error Output

gcc/glibc/binutils

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to build a self-sufficient gcc/glibc/binutils set in a non-standard path?

Low Risk

Try using crosstool-ng. It is a very good script that builds toolchain with a Kconfig interface (like Linux kernel has). It allows you to configure almost everything in the toolchain, and it has the settings you need. I once made an arm-gnueabi tool…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment