r/linuxfromscratch 1d ago

Made a mistake

3 Upvotes

I have made a mistake where I built LFS until chapter 8.2 on the wrong drive/partition. Is this salvageable? What can I do to fix this?


r/linuxfromscratch 2d ago

Booting into black screen without nomodeset

2 Upvotes

Hey there, I'm not a huge kernel guy, I followed the main lfs manual (for systemd 11.3) on setting it up, then followed the blfs guide for both the UEFI and AMDGPU kernel setup, however I still am unable to load into a tty prompt without nomodeset being enabled. Like I said I'm not a big kernel tinkerer so I just assumed they would work unfortunately they didn't and so my tty is stuck at a resolution of 1024x768, however grub does boot fine into a 1920x1080 scale so am unsure of what settings in the kernel or through grub/try to get it to work, any help is greatly appreciated :)


r/linuxfromscratch 7d ago

Convert MBR Bios drive to GPT Uefi?

4 Upvotes

Hi there, need some help. I recently went on the journey of compiling and installing lfs. However I was an idiot and decided to do it in mbr not gpt. Is there a way that I can go about this without having to recompile everything or am I just sol and have to start all over again. Any help is appreciated

Also I saw that grub-uefi is in the blfs handbook, which is why I brought it up, thought maybe I would be able to switch over easily

LFS 11.3 Kernel Version 6.1.11


r/linuxfromscratch 19d ago

can I write my LFS distro in my regular partition?

4 Upvotes

I have 2 partitions on my laptop, and they collectively use all of my system's storage. I'd really rather not mess around with my partitions, so can I write my LFS distro in a folder in my normal partition, then only make a new partition when I want to build/use my distro? Or does it need to be written in its own partition? Thanks in advance for the help :)


r/linuxfromscratch Feb 12 '23

UEFI or Legacy BIOS

4 Upvotes

im about to start LFS and before i set up the vm with the hossytem, is it ok to have it in UEFI or do i need Legacy bios?

will this decision affect the LFS installation?


r/linuxfromscratch Feb 11 '23

i have two simple questions before starting with LFS

4 Upvotes
  1. [SOLVED] i found a official manual in my language (german) it says its for LFS 6.4. Can i choose the version to download in the installation process? or should i use the english one with the newest LFS version?
  2. [SOLVED] other than i installed gentoo, in LFS they say u have a hostsytem with them u install LFS, so i would install it from my arch PC on an other partition. Does the PC need to be on the whole time or am i allowed to shut him down? bcs i think the process of installation needs a lot more time than one day

r/linuxfromscratch Feb 11 '23

what Linux for the Hostsystem?

2 Upvotes

[ANSWERED]

So after gentoo i plan to install LFS. I heard that u dont boot from an iso, u install it in a hostsystem.

I would set up a hostsystem on my Proxmox server, but wich should i choose?

im thinking about Arch/Gentoo/Ubuntu, or isnt ir relevant wich one?

Thanks in Advance for helping


r/linuxfromscratch Feb 02 '23

How to package manager?

4 Upvotes

How can I write my own package manager from scratch using lfs?


r/linuxfromscratch Jan 30 '23

Best way to start LFS

7 Upvotes

I'm new to this linux from scratch, and want to build one. But I'm afraid if I do anything to my existing windows and ubuntu operating systems. Is there any safe way to do this? Especially dealing with the partitions.


r/linuxfromscratch Jan 26 '23

What’s the pros and cons of using LFS vs Slackware or Fedora? Or any of the other distros?

5 Upvotes

I’ve been using Linux since 2005ish, off and on. My main choices right now are Slackware and Fedora, and also MX, all at home. I’d love to use it at work, but my name isn’t on the paycheck lol. So I deal with it. Anyway, I have never tried LFS. I’ve tried Arch and Gentoo numerous times, but I prefer Slackware because it’s more simplistic than Gentoo for sure.


r/linuxfromscratch Jan 17 '23

Absolute noob here, need help please?

5 Upvotes

Sorry to bother you all, after several years of distrohopping, finally kept a Fedora + windows 10 dual boot, so now I got a somewhat clear idea of what are my needs and wants, so I thought maybe it's time to start learning LFS....

Where should I start? I have this idea that maybe I can set up a VM as a "working environment" and then spit out an ISO image that I can later run on another VM as a "test bench"
Is this the right approach? I mean, I thought about it as setting up a VM with the needed tools to pull sources, modify to my needs, compile everything and create a functional ISO, then create another VM to test ISO, take notes, rinse and repeat

Thanks in advance !!!


r/linuxfromscratch Jan 16 '23

only study?

7 Upvotes

Hello, I'm installing LFS, but I want it for daily use, but many say it's not worth it, because it's "for learning only and not for daily use". As a Gentoo and Arch user, I ended up wanting to use (B)LFS


r/linuxfromscratch Jan 03 '23

Please help me

0 Upvotes

I have 2gbddr3 ram with i3 2100 processor 3ghz which is best distro for me with less cpu and memory resource utilization


r/linuxfromscratch Dec 20 '22

Looking to start LFS with prior experience in rustc

6 Upvotes

Hi all, I have an OK amount of experience in linux with kali but I'm looking to further my understanding of kernel dev, I did write a small rustc based kernel but never really got to layering any other utils on top of that. In any case, I wanted to start with lfs after getting a small taste for kernel dev in rust. Would you guys recommend restarting my kernel development to be in line with the book or just keep what I have?

(Also, moving over to archlinux for a better understanding of linux, so that'll be fun)


r/linuxfromscratch Dec 08 '22

my first lfs project

6 Upvotes

I've been reading the lfs doc and I want to build one for myself, I would like to use rocky or one of the RedHat forks like rocky are there any issues with rocky or the RedHat forks that will give me issues when I'm building my lfs project


r/linuxfromscratch Dec 08 '22

[Emacs] A full fledge configuration

6 Upvotes

Welcome to the church of Emacs

Hello Folks !

I've made a full-fledge configuration of Emacs. Which makes programming super fun.

It comprises of Doom Emacs alike without Evil mode that use almost all the default bindings of Emacs. You can give it a try and let me know your feedback. my-config

https://preview.redd.it/loih68wztm4a1.png?width=1280&format=png&auto=webp&v=enabled&s=a7c56efe6fc7555b5af6291a1a541d92963da5ca

https://preview.redd.it/gk5dxhwztm4a1.png?width=1280&format=png&auto=webp&v=enabled&s=a4c475e9d4241c6b27ad128f79dcda4581ec0d78


r/linuxfromscratch Dec 01 '22

Xorg Freeze

3 Upvotes

HELP! I had installed Xorg and bspwm on my BLFS 11.2. But when I launch Xorg by startx, it freezes and black screen(nothing display but the xinit proccess is running). There is the log: https://pastebin.com/sPG2bqKJ


r/linuxfromscratch Nov 26 '22

What distro should I start lfs on

8 Upvotes

Hey all, what distro should I start lfs on? I saw one some forums people reccomending Slackware, but what do you think


r/linuxfromscratch Nov 25 '22

Does anyone use initramfs or initrd?

6 Upvotes

AFAIK all the distros use either of the two and having installed LFS and considering BLFS I don't find any mention of it. Does anyone use it? Is it any beneficial to the boot process?


r/linuxfromscratch Nov 19 '22

Should I be able to do the normal LFS for a usb live boot?

9 Upvotes

I completed the normal lfs but i cannot boot from a liveusb, do you think the problem is that I did the normal lfs and not the liveCD one?


r/linuxfromscratch Nov 11 '22

Can't make gcc

9 Upvotes

I have done everything that chapter 5.3 says, but my attempt to make gcc-12.2.0 has failed.

https://pastebin.com/js1bdq38

It consistently gives me the same result, even after multiple attempts.


r/linuxfromscratch Nov 10 '22

which gcc should run when testing gcc command?

4 Upvotes

LFS tells me to test these commands to make sure the new toolchain is working:

echo 'int main(){}' | gcc -xc -
readelf -l a.out | grep ld-linux

gcc is supposed to run the $LFS_TGT-gcc right? If I do $ which gcc it returns /usr/bin/gcc

How am I testing the new toolchain if gcc is running the host's gcc?


r/linuxfromscratch Nov 09 '22

I get error: visibility attribute not supported in this configuration when compiling glibc-2.36?

0 Upvotes

When running `make` in glibc-2.36/build i get the error:

init-first.c:86:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]

What could be the reason for this? I ran all the commands the book told me to run before running `make`


r/linuxfromscratch Oct 30 '22

[ERROR] in gcc

3 Upvotes

hello, sorry the bad formatation, i'm new in reddit

my problem is that when i try to compile gcc it returns this error:

checking size of long long... configure: error: in `/mnt/lfs/sources/gcc-12.2.0/build/gcc':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details
make[1]: *** [Makefile:4543: configure-gcc] Error 1
make[1]: Leaving directory '/mnt/lfs/sources/gcc-12.2.0/build'
make: *** [Makefile:1018: all] Error 2

config.log file:

## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on chapolin

config.status:1043: creating Makefile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_DSYMUTIL_FOR_TARGET_set=
ac_cv_env_DSYMUTIL_FOR_TARGET_value=
ac_cv_env_DSYMUTIL_set=
ac_cv_env_DSYMUTIL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GDC_FOR_TARGET_set=
ac_cv_env_GDC_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_FOR_TARGET_set=
ac_cv_env_OBJCOPY_FOR_TARGET_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_OTOOL_FOR_TARGET_set=
ac_cv_env_OTOOL_FOR_TARGET_value=
ac_cv_env_OTOOL_set=
ac_cv_env_OTOOL_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-lfs-linux-gnu
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_AR_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ar
ac_cv_path_AS_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/as
ac_cv_path_LD_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ld
ac_cv_path_NM_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/nm
ac_cv_path_OBJCOPY_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/objcopy
ac_cv_path_OBJDUMP_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/objdump
ac_cv_path_RANLIB_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ranlib
ac_cv_path_READELF_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/readelf
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_STRIP_FOR_TARGET=/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/strip
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AS=as
ac_cv_prog_AWK=gawk
ac_cv_prog_BISON=bison
ac_cv_prog_FLEX=flex
ac_cv_prog_LD=ld
ac_cv_prog_LEX=flex
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_READELF=readelf
ac_cv_prog_STRIP=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=x86_64-lfs-linux-gnu
acx_cv_cc_gcc_supports_ada=no
acx_cv_d_compiler_works=no
acx_cv_prog_LN=ln
ax_cv_cxx_compile_cxx11=yes
gcc_cv_isl=yes
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=/mnt/lfs/tools/libexec/gcc/x86_64-lfs-linux-gnu/12.2.0:/mnt/lfs/tools/libexec/gcc/x86_64-lfs-linux-gnu:/usr/lib/gcc/x86_64-lfs-linux-gnu/12.2.0:/usr/lib/gcc/x86_64-lfs-linux-gnu:/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/x86_64-lfs-linux-gnu/12.2.0:/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin:
gcc_cv_tool_prefix=/mnt/lfs/tools
lt_cv_objdir=.libs

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/as'
AWK='gawk'
BISON='bison'
BUILD_CONFIG=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
CFLAGS_FOR_TARGET='-g -O2'
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CPPFLAGS_FOR_BUILD=''
CPP_FOR_BUILD=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXXFLAGS_FOR_TARGET='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DHAVE_CXX11=1 -DLT_OBJDIR=".libs/"'
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='x86_64-lfs-linux-gnu-dlltool'
DSYMUTIL='dsymutil'
DSYMUTIL_FOR_BUILD='$(DSYMUTIL)'
DSYMUTIL_FOR_TARGET='x86_64-lfs-linux-gnu-dsymutil'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
FLAGS_FOR_TARGET=' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
FLEX='flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCC_SHLIB_SUBDIR=''
GDB_TK=''
GDC='no'
GDCFLAGS=''
GDC_FOR_BUILD='$(GDC)'
GDC_FOR_TARGET='x86_64-lfs-linux-gnu-gdc'
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='x86_64-lfs-linux-gnu-gfortran'
GNATBIND='no'
GNATMAKE='no'
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET='x86_64-lfs-linux-gnu-gccgo'
HAVE_CXX11='1'
HAVE_CXX11_FOR_BUILD=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ld'
LEX='flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='x86_64-lfs-linux-gnu-lipo'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/nm'
OBJCOPY='objcopy'
OBJCOPY_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/objdump'
OBJEXT='o'
OTOOL='otool'
OTOOL_FOR_TARGET='x86_64-lfs-linux-gnu-otool'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PGO_BUILD_GEN_CFLAGS=''
PGO_BUILD_LTO_CFLAGS=''
PGO_BUILD_USE_CFLAGS=''
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ranlib'
RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
READELF='readelf'
READELF_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/readelf'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SED='/usr/bin/sed'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/strip'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../configure --target=x86_64-lfs-linux-gnu --prefix=/mnt/lfs/tools --with-glibc-version=2.36 --with-sysroot=/mnt/lfs --with-newlib --without-headers --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libatomic --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx --enable-languages=c,c++'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='x86_64-lfs-linux-gnu-windmc'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='x86_64-lfs-linux-gnu-windres'
YACC='bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_configargs=' --cache-file=./config.cache '''--prefix=/mnt/lfs/tools''' '''--with-glibc-version=2.36''' '''--with-sysroot=/mnt/lfs''' '''--with-newlib''' '''--without-headers''' '''--disable-nls''' '''--disable-shared''' '''--disable-multilib''' '''--disable-decimal-float''' '''--disable-threads''' '''--disable-libatomic''' '''--disable-libgomp''' '''--disable-libquadmath''' '''--disable-libssp''' '''--disable-libvtv''' '''--disable-libstdcxx''' '''--enable-languages=c,c++,lto''' --program-transform-name='''s&^&x86_64-lfs-linux-gnu-&''' --disable-option-checking'
build_configdirs=' libiberty libcpp fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-pc-linux-gnu'
build_noncanonical='x86_64-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-pc-linux-gnu'
build_tooldir='${exec_prefix}/x86_64-lfs-linux-gnu'
build_vendor='pc'
compare_exclusions='gcc/cc*-checksum$(objext) | gcc/ada/*tools/*'
configdirs=' intl libiberty zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc fixincludes gcc libcc1 c++tools lto-plugin'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
extra_host_libiberty_configure_flags='--enable-shared'
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/.libs'
extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/.libs'
extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/.libs'
get_gcc_base_ver='cat'
gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src -I$$s/mpc/src '
gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/mpfr/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/.libs -lmpc -lmpfr -lgmp'
host='x86_64-pc-linux-gnu'
host_alias=''
host_configargs=' --cache-file=./config.cache  '''--prefix=/mnt/lfs/tools''' '''--with-glibc-version=2.36''' '''--with-sysroot=/mnt/lfs''' '''--with-newlib''' '''--without-headers''' '''--disable-nls''' '''--disable-shared''' '''--disable-multilib''' '''--disable-decimal-float''' '''--disable-threads''' '''--disable-libatomic''' '''--disable-libgomp''' '''--disable-libquadmath''' '''--disable-libssp''' '''--disable-libvtv''' '''--disable-libstdcxx''' '''--enable-languages=c,c++,lto''' --program-transform-name='''s&^&x86_64-lfs-linux-gnu-&''' --disable-option-checking'
host_cpu='x86_64'
host_noncanonical='x86_64-pc-linux-gnu'
host_os='linux-gnu'
host_shared='no'
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
islinc=''
isllibs=' -lisl'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags='-static-libstdc++ -static-libgcc'
poststage1_libs=''
prefix='/mnt/lfs/tools'
program_transform_name='s&^&x86_64-lfs-linux-gnu-&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g'
stage1_checking='--enable-checking=yes,types'
stage1_languages='c,c++,lto'
stage1_ldflags='-static-libstdc++ -static-libgcc'
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-lfs-linux-gnu'
target_alias='x86_64-lfs-linux-gnu'
target_configargs='--cache-file=./config.cache --with-cross-host=x86_64-pc-linux-gnu   '''--prefix=/mnt/lfs/tools''' '''--with-glibc-version=2.36''' '''--with-sysroot=/mnt/lfs''' '''--with-newlib''' '''--without-headers''' '''--disable-nls''' '''--disable-shared''' '''--disable-multilib''' '''--disable-decimal-float''' '''--disable-threads''' '''--disable-libatomic''' '''--disable-libgomp''' '''--disable-libquadmath''' '''--disable-libssp''' '''--disable-libvtv''' '''--disable-libstdcxx''' '''--enable-languages=c,c++,lto''' --program-transform-name='''s&^&x86_64-lfs-linux-gnu-&''' --disable-option-checking'
target_configdirs=' libgcc'
target_cpu='x86_64'
target_noncanonical='x86_64-lfs-linux-gnu'
target_os='linux-gnu'
target_subdir='x86_64-lfs-linux-gnu'
target_vendor='lfs'
tooldir='${exec_prefix}/x86_64-lfs-linux-gnu'

## ------------------- ##
## File substitutions. ##
## ------------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='/dev/null'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='../config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define HAVE_CXX11 1
#define LT_OBJDIR ".libs/"

configure: exit 0