This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Can't build binutils with read-only source; Was: Linux GDB compilation problem


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]