#2437: chap-5.10.1 gcc unneeded reference to sysv4.h
-------------------------+--------------------------------------------------
Reporter: gespinasse | Owner: lfs-b...@…
Type: enhancement | Status: new
Priority: normal | Milestone: 6.5
Component: Book | Version: SVN
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
gcc/config/rs6000/sysv4.h contain the define for the linker
GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
But gcc/config/i386/sysv4.h does not contain that define.
LFS does not support powerpc, so that's useless to adjust the linker in
rs6000/sysv4.h file.
Greg only add STANDARD_INCLUDE_DIR and STANDARD_STARTFILE_PREFIX_...
in one DL_HEADER file, so gcc/config/i386/sysv4.h need no changes.
I would suggest to refer to i386 directory directly and write[[BR]]
{{{
for file in $(find gcc/config/i386 -name linux64.h -o -name linux.h)
}}}
Similary for unsetting MULTILIBS on x86_64, there is only one file to
change, so a for loop is a big luxury. That could be written directly
with[[BR]]
{{{
file=gcc/config/i386/t-linux64; \
cp -v $file{,.orig}
sed '/MULTILIB_OSDIRNAMES/d' $file.orig > $file
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2437>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page