Jump to content
30977 posts in this topic

Recommended Posts

 

8 hours ago, Matgen84 said:

Hi all Devs

 

Try to use gcc16.1  But I can't build Clover with these settings and Default Toolchian GCC161: build error 4000 gcc161 not defined etc.

if [[ $MYTOOLCHAIN == GCC* ]] && [[ ! -x "${GCC161_BIN}" ]]; then
    if [[ $MYTOOLCHAIN == GCC161 ]]; then
      cd "${CLOVERROOT}"
      ./build_gcc16.sh
    else
      MYTOOLCHAIN=XCODE16
    fi
  fi

 

 

 

I take a look at the repo and see :

if [[ $MYTOOLCHAIN == GCC* ]] && [[ ! -x "${GCC152_BIN}" ]]; then
    if [[ $MYTOOLCHAIN == GCC152 ]]; then
      cd "${CLOVERROOT}"
      ./build_gcc16.sh
    else
      MYTOOLCHAIN=XCODE16
    fi
  fi

I can't build too if Default ToolChain is GCC161.

 

I don't understand why Default ToolChain must be GCC152 !!! 

  Reveal hidden contents

---------------------------------------------------------------------------------

                           🍀 Clover r5172 (SHA: 9af58b239)

                              Default TOOLCHAIN: GCC152

                     Switch to XCODE select: build (with XCode)

     Depending on your XCODE version the Toolset will be automatically chosen

---------------------- Current Python version: Python 3.14.6 --------------------

 

 

1) build Clover (Default Toolchain)    😎 build Clover (with XCode)

2) build all (Default Toolchain)       9) build all (with XCode)

3) make Release (Default Toolchain)   10) make Release (with XCode)

4) update Clover       11) build Clover with HFSPlus

5) make pkg       12) Extra Options

6) make iso       13) Exit

7) make Clover_V2

 

Please enter your choice:

 

So Buildme use gcc152 parameters instead of gcc161 :

  Reveal hidden contents

Running edk2 build for CloverX64 using the command:

build --cmd-len=50000 -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG --conf=/Users/mathieu/src/CloverBootloader/Conf -D USE_LOW_EBDA -D ENABLE_MODERN_CPU_QUIRKS -p Clover.dsc  -a X64 -b RELEASE -t GCC152 -n 9

 

Because GCC 16.1 was not yet implemented.
After Shabbat is over, this will be published.

2026-07-0403_46_51.thumb.jpg.5b700148d008d94b060fe980b0a676d3.jpg

Edited by MakAsrock
  • Like 1
  • Thanks 2
×
×
  • Create New...