* Linux GDB compilation problem
@ 2001-10-25 5:03 Pierre Muller
2001-10-25 9:00 ` Can't build binutils with read-only source; Was: " Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Muller @ 2001-10-25 5:03 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Can't build binutils with read-only source; Was: Linux GDB compilation problem
2001-10-25 5:03 Linux GDB compilation problem Pierre Muller
@ 2001-10-25 9:00 ` Andrew Cagney
2001-10-26 2:26 ` Nick Clifton
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2001-10-25 9:00 UTC (permalink / raw)
To: binutils; +Cc: Pierre Muller, gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't build binutils with read-only source; Was: Linux GDB compilation problem
2001-10-25 9:00 ` Can't build binutils with read-only source; Was: " Andrew Cagney
@ 2001-10-26 2:26 ` Nick Clifton
0 siblings, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2001-10-26 2:26 UTC (permalink / raw)
To: muller; +Cc: binutils, gdb
Hi Pierre,
Your message has been forwarded to the binutils mailing list, since
the opcodes library is officially part of that project.
> > 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 ?)
You are correct however, a simple build of the opcodes library, as
part of GDB or for any other reason, should not try to modify the
source directory.
> > A mv command fails because it tries to move a file
> > from my compilation dir into a subdir of the sourcedir.
Can you provide some more information please ? Which version of the
binutils sources are you using. (If you build the objdump
disassembler program and run "objdump --version", this should tell
you). What file was the build process trying to move into the
source directory ?
> > The precise location where this happens is in
> > [all-opcodes]
> > [1] [all-recursive-am]
> > [2] [all-recursive]
> > [3] [POTFILES.in]
> > [4] [po/POTFILES.in]
The all-recursive-am target is for the automatic rebuilding of the
Makefile. In this case it would appear that make is trying to
rebuild the Makefile.in or config.h files in the source directory.
This would indicate that the timestamps on your Makefile.am or
config.in files are wrong (or you have edited them).
Cheers
Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-10-26 2:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-25 5:03 Linux GDB compilation problem Pierre Muller
2001-10-25 9:00 ` Can't build binutils with read-only source; Was: " Andrew Cagney
2001-10-26 2:26 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox