This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug gdb/9098] gdbserver not building with cross-compiler


------- 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.


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