Using Winelib
Kevin Atkinson
kevin at atkinson.dhs.org
Sat Sep 13 19:32:14 CDT 2003
On Sat, 13 Sep 2003, Dimitrie O. Paun wrote:
> On September 13, 2003 04:03 am, Kevin Atkinson wrote:
>
> > OK I figured out how to get it to compile. I manually created
> > libavisynth_c.def, it is attached. I know that wasn't the best thing to
> > do but it worked. Why is this necessary? Can't it use the .lib file?
> > Failing that is there a script to create the .def from the .lib?
>
> Unfortunately we lack compiler support to do all this stuff automatically
> in Linux. Maybe the gcc guys can do something about it, but I'm not sure
> if they are aware of the problem.
Well I do know that Gcc has the code to do so. In fact I am able to cross
compile. Gcc can even do better than VC++ and try to get the information
out of the .dll itself without any extra files.
> > Furthermore it is still using windows I/O.
>
> Hmm, can you post the Makefile you used to build the thing?
Attached is to files. One is for building the application via a cross
compiler, the other is with Winelib.
> > How can I use the native glibc I/O libraries? In particular I want to be
> > able for stdout and stderr to be handles like they would in a linux
> > application so I can send my output to stdout (with out any line
> > conversion) and messages to stderr. Right now when I redirect stdout
> > stderr gets redirected also.
>
> Yes, you can use glibc, but this stdout/err problem maybe related to
> something else. Eric is the expert in that area...
OK. What about opening files using the unix path name?
--
http://kevin.atkinson.dhs.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.tar.gz
Type: application/x-gzip
Size: 9028 bytes
Desc:
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20030913/e5e56687/cross.tar.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winelib.tar.gz
Type: application/x-gzip
Size: 13879 bytes
Desc:
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20030913/e5e56687/winelib.tar.bin
More information about the wine-devel
mailing list