This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9098] gdbserver not building with cross-compiler
- From: "tonyt at logyst dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 21 May 2010 14:30:41 -0000
- Subject: [Bug gdb/9098] gdbserver not building with cross-compiler
- References: <20050820002800.9098.johoffry@yahoo.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tonyt at logyst dot com 2010-05-21 14:30 -------
Created an attachment (id=4806)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4806&action=view)
Change hard-coded /bin/sh to @SHELL@
Hello,
I was having similar problems with a cross-build and the problem indeed seems
to be a complex expression in regdat.sh that /bin/sh on Solaris has trouble
with.
The simple solution is to use a different shell, however, the
gdb/gdbserver/Makefile.in hard-codes SHELL = /bin/sh.
Attached is a simple change to make this @SHELL@ so the desired shell can be
specified when calling "make".
Tony
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9098
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.