This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Can't build binutils with read-only source; Was: Linux GDB compilation problem
- To: binutils at sources dot redhat dot com
- Subject: Can't build binutils with read-only source; Was: Linux GDB compilation problem
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 25 Oct 2001 11:59:59 -0400
- Cc: Pierre Muller <muller at cerbere dot u-strasbg dot fr>,gdb at sources dot redhat dot com
- References: <4.2.0.58.20011025133816.02483e80@ics.u-strasbg.fr>
The below was sent to GDB@
As far as i can tell the analysis is correct. A simple build shouldn't
be trying to modify files in the ``read only'' src/opcodes tree.
enjoy,
Andrew
> I have a trouble to compile gdb on my new linux box.
>
> I have the sources on a subdir of
>
> /data dir that is a mount of a fat32 partition
> (used with cygwin in binmode, so that there are no
> lineend problems)
>
> Trying to compile GDB for linux in a subdir of my /home dir
> that is a mount of another partition,
> I can successfully configure
> but running "make all-gdb" ends with the following error :
> A mv command fails because it tries to move a file
> from my compilation dir into a subdir of the sourcedir.
>
> Shouldn't it be possible to confugre and make even if
> the source is on another mount or even only read-only
> (on a cd-rom or owner by someone else ?)
>
> I don't think that its normal that
> the make process change the source dir !
> The precise location where this happens is in
> [all-opcodes]
> [1] [all-recursive-am]
> [2] [all-recurvise]
> [3] [POTFILES.in]
> [4] [po/POTFILES.in]
>
>
>
> Pierre Muller
> Institut Charles Sadron
> 6,rue Boussingault
> F 67083 STRASBOURG CEDEX (France)
> mailto:muller@ics.u-strasbg.fr
> Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99