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)
commit23c458d73c6bccca7102d79e6ec4e31757a09236
treeb9f50d23dc957f70f3a9b3b9e3ff19c6725450ed
parentca468dce3a10dfa5a7b00acf07eecf5d577da683
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