#2413: Chapter 5 - GCC Pass 2 - changing dynamic linker location
-----------------------------------------+----------------------------------
Reporter: ger...@… | Owner: lfs-b...@…
Type: task | Status: reopened
Priority: normal | Milestone: 6.5
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
-----------------------------------------+----------------------------------
Changes (by d...@…):
* status: closed => reopened
* resolution: invalid =>
* milestone: 7.0 => 6.5
Comment:
I'd like to make one last chance argument simply for clarity's sake. I'd
have posted to -dev, but I can't right now because my smart host is
rewriting the from address (which will be fixed tomorrow evening).
Upon reading Gerard's post, without extracting the gcc source and actually
looking at the problem, I had also expected to find 3 files. The
alternate below would have made it more clear, to me at least, at first
glance.
Here is the original against a diff of the new:
{{{
[...@name25 gcc-4.4.0]# for file in \
> $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
> do
> ls $file
> done | sort > testfile1
[...@name25 gcc-4.4.0]# for file in
gcc/config/{linux.h,*/{linux{,64},sysv4}.h}
> do
> ls $file
> done | sort > testfile2
[...@name25 gcc-4.4.0]# diff -au testfile1 testfile2
[...@name25 gcc-4.4.0]#
}}}
The commands produce the same output, but the second, while more complex,
avoids a repeat of the original suggestion by being more explicit. It's
not worth arguing too much over, but I though I'd throw this out there for
reconsideration, especially seeing that two of us made the exact same
assumption based on the current commands. I know that I've been doing
this for far too long to even begin to imagine what a first time LFS'er
sees and interprets, but I do know that I immediately said 'Oh yeah, that
is better' when reading the Gerard's suggestion. That makes me wonder how
much thought a first timer puts into the commands as they are in the book,
when I myself made a similar assumption. Reopening, but please close it
if y'all don't think it's worth changing.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2413#comment:2>
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