windres doesn't accept DOS paths

2001-12-27 Thread Matthew Brett
Hi, I think someone mentioned that if cygwin utilities do not accept DOS paths then this should be considered a bug. Just to report then, if you pass a DOS path to windres, it barfs: windres "c:\test.rc" gives gcc: c:test.rc: No such file or directory gcc: Warning: `-x c-header' after last in

Linking dlls

2001-12-21 Thread Matthew Brett
Hello again, I made an error in my earlier question, so please forgive the repost. My question is: is there a way that I can link a dll function 'foo' to a routine in code called 'bar'. So, I have a dll, extdll.dll, which exports a routine 'foo'. I don't have the source for the dll. I also h

Linking to functions in libraries with different names

2001-12-19 Thread Matthew Brett
Hi, I would really appreciate some advice on a windows linking question. I have a large body of code, in fact in Fortran, with function names like FUNCTION1 and FUNCTION2, which will call functions exported from an external library. I have the relevant libraries, with no source, in MS .lib forma