This is the mail archive of the
mailing list for the GCC project.
Re: weird installation problem on i686-pc-linux-gnu
- From: Jim Wilson <wilson at specifix dot com>
- To: Martin Reinecke <martin at MPA-Garching dot MPG dot DE>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 01 Nov 2005 11:27:01 -0800
- Subject: Re: weird installation problem on i686-pc-linux-gnu
- References: <20051101110625.GA16535@mpadmx-2.MPA-Garching.MPG.DE>
Martin Reinecke wrote:
i.e. the "gcc" binary ends up as "xgcc" in a subdirectory called "gcc".
The gcc makefile install rule just does
rm -f $destdir/bin/gcc
install xgcc $destdir/bin/gcc
If destdir/bin/gcc is non-existant, or a plain file, then this works as
expected. If destdir/bin/gcc is a directory, then this will cause the
result you saw, as xgcc will be copied into the directory.
The question is then: Who created the directory?
That I probably can't figure out without makefile logs. It is also
possible that the directory was there before you started the install.
In this case, you might want to do a rm -rf $destdir to get a clean install.
Jim Wilson, GNU Tools Support, http://www.specifix.com