This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


| > 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

Addinging this (and appropriate autoconfigury) works on mingw

#ifndef HAVE_GETGID
#define getgid() 0
#endif
#ifndef HAVE_GETUID
#define getuid() 0
#endif

Danny


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]