Cygwin tester? Was: [rfa] Add bfd-in-memory io vector

Danny Smith dannysmith@clear.net.nz
Mon May 3 22:48:00 GMT 2004


From: "Danny Smith"

| 
| | > On Sat, May 01, 2004 at 02:10:31PM -0400, Andrew Cagney wrote:
| | > 
| | >>> The testing comment still applies though.
| | > 
| | > 
| | > Given DJ's comment, I think you should test this on cygwin before
| | > committing.  If you can't do this yourself, convince someone else
| | > to do so for you.  OK to commit once you've done this.
| | > 
| | > 
| 
| I get this on mingw:
| 
| ../bfd/.libs/libbfd.a(opncls.o)(.text+0x5ba):opncls.c: undefined reference to `getuid'
| ../bfd/.libs/libbfd.a(opncls.o)(.text+0x5c6):opncls.c: undefined reference to `getgid'
| 
| 
| Configure already tests for getgid,  but not getuid
| 

Oops, configure already does test for both.

Danny

| Addinging this (and appropriate autoconfigury) works on mingw
| 
| #ifndef HAVE_GETGID
| #define getgid() 0
| #endif
| #ifndef HAVE_GETUID
| #define getuid() 0
| #endif
| 
| Danny
| 



More information about the Binutils mailing list