This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Mingw-users] Re: GNU ld for Mingw-host
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: Nick Clifton <nickc at cambridge dot redhat dot com>
- Cc: mingw-users at lists dot sourceforge dot net, binutils at sources dot redhat dot com
- Date: Wed, 19 Dec 2001 11:59:28 +1100 (EST)
- Subject: Re: [Mingw-users] Re: GNU ld for Mingw-host
--- Nick Clifton <nickc@cambridge.redhat.com> wrote: > Hi Kai,
>
> > Hi, has someone worked with porting the binutils for Mingw lately?
> (Not only
> > as the target...)
>
> No one has responded, so I guess that the answer would be "no". :-(
>
> > Finally and by an accident I became aware that the
> 'ld/emultempl/elf32.em'
> > and it using 'stat()', could be the reason to the fact that all the
> Mingw-
> > hosted GNU linkers for the ELF-systems using shared '.so' libraries
> fail in
> > finding those 'NEEDED' or 'linked' shared libraries, the '-rpath-link'
> having
> > no influence at all now...
>
> I assume then that 'stat()' does not work under Mingw ? What is the
> alternative for this OS ?
>
stat() works, but is a bit crippled. Several of the fields in struct stat
are meaningless(st_ino, st_uid , st_gid) and always zero. st_rdev is same
as st_dev. stat will also fail if passed a DOS drive identifier like "a:".
Danny
> Nick
>
>
> _______________________________________________
> MinGW-users mailing list
> MinGW-users@lists.sourceforge.net
>
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
http://greetings.yahoo.com.au - Yahoo! Greetings
- Send your festive greetings online!