OSDN Git Service

Tweaked Makefile.in so that post-configured Makefile tests for a Cygwin build
authorJohn Williams <jwilliams@itee.uq.edu.au>
Tue, 3 May 2005 23:26:11 +0000 (23:26 +0000)
committerJohn Williams <jwilliams@itee.uq.edu.au>
Tue, 3 May 2005 23:26:11 +0000 (23:26 +0000)
commitd08b010353e4ec45749260fb49d4aa3e5a088b90
treeb9f50d23dc957f70f3a9b3b9e3ff19c6725450ed
parent96e1fec7e3b13acadc3ca33dce0e47abc03b5235
Tweaked Makefile.in so that post-configured Makefile tests for a Cygwin build
environment, and if detected, explicitly adjusts the link order so that
libcygwin links *before* libiberty.a.  This gets around a Cygwin problem with
getopt()'s optind/optarg symbols.  See, for example:

http://sources.redhat.com/ml/cygwin/2004-04/msg01179.html

Also tweaked cygwin-elf.h and elf2flt.c so that Cygwin builds for MicroBlaze
target work as expected.

Patch sumbitted by John Williams <jwilliams@itee.uq.edu.au>
Makefile.in
cygwin-elf.h
elf2flt.c