Can't build binutils with read-only source; Was: Linux GDB compilation problem
Andrew Cagney
ac131313@cygnus.com
Thu Oct 25 09:00:00 GMT 2001
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
More information about the Binutils
mailing list