This is the mail archive of the gdb-patches@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] |
Other format: | [Raw text] |
Here's a patch to fix crosscompiled make install when specifying a DESTDIR, i.e.: make install DESTDIR=/foo/bar In sim/common/Make-common.in, which is included in the Makefiles generated by configure, the DESTDIR variable is ignored while installing `run' and `libsim.a`. This leads to errors when running make install (as a non-root user, obviously) for a crosscompiled gdb, since it tries to install files into the host filesystem (at $(bindir) and $(libdir), usually /bin and /lib). NB: This patch should apply to CVS too, but I've been unable to successfully check out gdb; something seems wrong with the modules file, I get errors like: cvs checkout: existing repository /cvs/src/src/texinfo does not match /cvs/src/src/bfd cvs checkout: ignoring module src/bfd cvs checkout: existing repository /cvs/src/src/texinfo does not match /cvs/src/src/opcodes cvs checkout: ignoring module src/opcodes cvs checkout: existing repository /cvs/src/src/texinfo does not match /cvs/src/src/readline
Attachment:
gdb-6.3-sim-destdir.patch
Description: Text document
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |