[commit] patchlet to build bfd on DJGPP

Pedro Alves pedro@codesourcery.com
Sun Aug 10 18:55:00 GMT 2008


Hi,

I recently when through the exercise of building GDB on DJGPP.

I needed the attached patch, because of:

 cc1.exe: warnings being treated as errors
 ../../bfd/archive.c: In function '_bfd_archive_bsd_update_armap_timestamp':
 ../../bfd/archive.c:2314: warning: comparison between signed and unsigned

, since, time_t in djgpp is unsigned int,

and armap_timestamp is,

  /* when more compilers are standard C, this can be a time_t */
  long  armap_timestamp;	/* Timestamp value written into armap.

Daniel Jacobowitz approved this on the GDB list, so I checked it in.

-- 
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: go32_fixes_bfd.diff
Type: text/x-diff
Size: 787 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080810/08158077/attachment.bin>


More information about the Binutils mailing list