Satya wrote:
Try cross-compiling with gcc.
How? You mean gcc on Linux can make windows EXE?
I tried DJGPP, but its missing few API's(rather functions), like message queues etc.
Try Cygwin.
Sorry I forgot to mention Cygwin. I checked it out too. But it doesnt support msg queues either. Or did I miss something? Or they are named differently?
Anyway thanks a lot for help.
Amish.
On Oct 3, 2001 at 22:51, Amish Mehta wrote:
Satya wrote:
Try cross-compiling with gcc.
How? You mean gcc on Linux can make windows EXE?
Well when you put it that way I don't know! It should be able to? I don't know...
I'm suddenly confused.
Sorry I forgot to mention Cygwin. I checked it out too. But it doesnt support msg queues either. Or did I miss something? Or they are named differently?
That's a possibility. What's a message queue? If it's a data structure, then naturally you have to write it in code.
PS: I'm sitting in a lab with a server named sisko, and winboxen (dontaed from microsoft) named obrien, damar, bashir, dukat, garak, worf, dax, kira, etc.
--- Satya satyap@satya.virtualave.net wrote:
On Oct 3, 2001 at 22:51, Amish Mehta wrote:
Satya wrote:
Try cross-compiling with gcc.
How? You mean gcc on Linux can make windows EXE?
Well when you put it that way I don't know! It should be able to? I don't know...
I'm suddenly confused.
GCC is a crosscompiler, so that you can presumably make it generate PE format Win32 executables. check man gcc for details.
Sorry I forgot to mention Cygwin. I checked it out
too. But
it doesnt support msg queues either. Or did I miss
something?
Or they are named differently?
That's a possibility. What's a message queue? If it's a data structure, then naturally you have to write it in code.
Message queues are a UNIX System V IPC mechanism, and as such are not a part of gcc or any other compiler RTL. They are an IPC facility provided hy the OS, and (at least I think) are not available on Win32 systems. I would suggest that you implement named pipes or mailslots, or use some higher level IPC mechanism such as COM (if you're into C++ and masochism), for this purpose. If you're looking for a lower level system on Win32, you can use sockets or even (horrors) DDE. Anyway, I will check my Win32 documentation today to see if Windows provides a message queue mechanism and will mail the list if it does.
Rgds,
Krishnan
PS: I'm sitting in a lab with a server named sisko, and winboxen (dontaed from microsoft) named obrien, damar, bashir, dukat, garak, worf, dax, kira, etc.
PPS: Looks like the sysad is a trekkie plus something else that I can't figure out.
__________________________________________________ Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
Sometime on Oct 3, Amish Mehta assembled some asciibets to say:
Satya wrote:
Try cross-compiling with gcc.
How? You mean gcc on Linux can make windows EXE?
Yes, provided you compile gcc with cross platform support.
Try Cygwin.
Sorry I forgot to mention Cygwin. I checked it out too. But it doesnt support msg queues either. Or did I miss something?
Maybe windows does not support it. I do not know.
Philip