On Fri, Aug 10, 2018 at 11:46:17PM +0800, Xi Ruoyao wrote:
> On 2018-08-10 10:20 -0400, Seth Turner wrote:
> > 
> > In the final running system, in /usr/bin there are two copies of several 
> > files.  These files are c++, g++, gcc, gcc-7.3.0, gcc-ar, gcc-nm, and 
> > gcc-ranlib
> > 
> > One copy is just the filenames as I would expect, the other copy has 
> > "i686-pc-linux-gnu" prefixed to the beginning of each of the filenames.: 
> > i686-pc-linux-gnu-c++, i686-pc-linux-gnu-g++, i686-pc-linux-gnu-gcc, 
> > i686-pc-linux-gnu-gcc-7.3.0, i686-pc-linux-gnu-gcc-ar, 
> > i686-pc-linux-gnu-gcc-nm, and i686-pc-linux-gnu-gcc-ranlib
> > 
> > During one build I tried to manually edit the makefiles after running 
> > ./config to change the i686-pc-linux-gnu to i686-lfs-linux-gnu, but that 
> > failed pretty spectacularly.
> > 
> > Is this what is supposed to happen? Can one set be safely removed? Is 
> > there a way to ./configure to give pass 2 the same filenames as pass 1?
[...]
> 
> GCC install some programs with host triplet (the i686-pc-linux-gnu-* in
> final system).  AFAIK they can be removed.

They should be hardlinks, i.e. using the same inode, so on a linux
filesystem they take no extra space and therefore removing them has
no benefit.

ĸen
-- 
           Entropy not found, thump keyboard to continue

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to