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: [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!


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