This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[CT-NG:patch 14/19] add bugurl and compiler version to core gcc compiler

When building for bare-metal the core-gcc compiler is delivered
as final compiler, so the version info and bugurl is useful
in the core compiler as well.

Signed-off-by: Remy Bohmer <>
 scripts/build/cc/ |    4 ++++
 1 file changed, 4 insertions(+)

Index: crosstool-ng/scripts/build/cc/
--- crosstool-ng.orig/scripts/build/cc/
+++ crosstool-ng/scripts/build/cc/
@@ -129,6 +129,10 @@ do_cc_core() {
+    # Bare metal delivers the core compiler as final compiler, so add version info and bugurl
+    [ -n "${CT_CC_BUGURL}" ]     && extra_config+=("--with-bugurl=${CT_CC_BUGURL}")
+    [ -n "${CT_CC_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_CC_PKGVERSION}")
     if [ "${copy_headers}" = "y" ]; then
         CT_DoLog DEBUG "Copying headers to install area of bootstrap gcc, so it can build libgcc2"
         CT_DoExecLog ALL mkdir -p "${core_prefix_dir}/${CT_TARGET}/include"


For unsubscribe information see

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]