This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Cygwin tester? Was: [rfa] Add bfd-in-memory io vector
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 02 May 2004 23:39:39 +0100
- Subject: Re: Cygwin tester? Was: [rfa] Add bfd-in-memory io vector
- References: <4092CA10.6090205@gnu.org> <4093E817.9060704@gnu.org><20040502135641.GZ2565@bubble.modra.org> <40967F30.50607@gnu.org>
- Reply-to: Danny Smith <dannysmith at users dot sourceforge dot net>
| > 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