From: Banasik, Paul M (PaulMBanasik@eaton.com)
Date: Tue Sep 17 2002 - 08:20:52 EDT
Hi Wolfgang - Here are some instructions for patching elf2flt to work under Cygwin; I wrote these when I downloaded elf2flt from CVS on April 27, 2002. These instructions probably still apply to the current elf2flt in CVS, but I haven't tested them lately. You will need to get a copy of glibc-2.2.5 to complete the patch. 1) cd ~/elf2flt-cvs-latest 2) cp ~/glibc-2.2.5/elf/elf.h . 3) vi Makefile.in 4) In the elf2flt rule, add -lintl after $(LIBS). 5) In the install rule, change all instances of ld to ld.exe, and ld.real to ld.real.exe. 6) :w and :q 7) vi elf2flt.c 8) Change #include <elf.h> to be #include "elf.h". 9) :w and :q 10) vi elf.h 11) Delete the __BEGIN_DECL macro at the top of the file. 12) Delete the __END_DECL macro at the bottom of the file. 13) Change #include <stdint.h> to be #include <sys/types.h>. 14) For the typedefs declared at the top of the file, change all uint16_t, uint32_t, and uint64_t types to u_int16_t, u_int32_t, and u_int64_t respectively. 15) :w and :q You should now be able to build elf2flt using the primary build-uclinux-tools.sh script. Hope this helps. Paul B. -----Original Message----- From: Wolfgang Paulus [mailto:pauluswg@iis.fhg.de] Sent: Tuesday, September 17, 2002 4:48 AM To: Banasik, Paul M Subject: Building on Cygwin Hello Mr. Banasik, last year in November you wrote on the uClinux-developers mailinglist that you had a version of efl2flt that worked porperly under Win2000/Cygwin. I'm now builiding uClinux for v850 and I can't compile elf2lft. If you still have these corrected versions, please could you mail them to me? Thank you in advance, Wolfgang Paulus This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:21:53 EDT