From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: binutils@sources.redhat.com Cc: Pierre Muller , gdb@sources.redhat.com Subject: Can't build binutils with read-only source; Was: Linux GDB compilation problem Date: Thu, 25 Oct 2001 09:00:00 -0000 Message-id: <3BD836FF.3060100@cygnus.com> References: <4.2.0.58.20011025133816.02483e80@ics.u-strasbg.fr> X-SW-Source: 2001-10/msg00237.html 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