Ignore:
Timestamp:
03/03/2022 04:49:10 PM (2 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
arm
Children:
8ac7bce6
Parents:
d693c86
git-author:
Xi Ruoyao <xry111@…> (03/02/2022 09:50:41 AM)
git-committer:
William Harrington <kb0iic@…> (03/03/2022 04:49:10 PM)
Message:

gcc pass2: use --target=$LFS_TGT instead of many {C,CXX}_FOR_TARGET

There is also a "GCC_FOR_TARGET" which was not set correctly. The
--target=$LFS_TGT parameter can set up all of these variables as we
expected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    rd693c86 rb6d0e2b  
    9393    --build=$(../config.guess)                     \
    9494    --host=$LFS_TGT                                \
     95    --target=$LFS_TGT                              \
     96    LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc      \
    9597    --prefix=/usr                                  \
    96     CC_FOR_TARGET=$LFS_TGT-gcc                     \
    97     CXX_FOR_TARGET=$LFS_TGT-g++                    \
    98     LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc      \
    9998    --with-build-sysroot=$LFS                      \
    10099    --enable-initfini-array                        \
Note: See TracChangeset for help on using the changeset viewer.