Date: Thu, 2 Apr 1998 16:21:14 -0500 (EST) From: Laszlo Vecsey cc: djgpp AT delorie DOT com Subject: cicco AT nvc DOT bvm DOT br (cross compiler, linux, gnu-win32) Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/REPORT; REPORT-TYPE=delivery-status; BOUNDARY="QAA18860.891551397/micro.internexus.net" Content-ID: Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime AT docserver DOT cac DOT washington DOT edu for more info. --QAA18860.891551397/micro.internexus.net Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: Hi, This was meant to be a private reply but the destination address was invalid. Dont you just hate that. I've attached it in the hopes that the original author will pick it up here on the mailing list. ----- Transcript of session follows ----- ... while talking to pavao.nvc.com.br.: >>> RCPT To: <<< 550 ... User unknown 550 ... User unknown --QAA18860.891551397/micro.internexus.net Content-Type: MESSAGE/DELIVERY-STATUS Content-ID: Content-Description: Reporting-MTA: dns; micro.internexus.net Arrival-Date: Thu, 2 Apr 1998 16:09:23 -0500 Final-Recipient: RFC822; ciccio AT nvc DOT com DOT br Action: failed Status: 5.1.1 Remote-MTA: DNS; pavao.nvc.com.br Diagnostic-Code: SMTP; 550 ... User unknown Last-Attempt-Date: Thu, 2 Apr 1998 16:09:56 -0500 --QAA18860.891551397/micro.internexus.net Content-Type: MESSAGE/RFC822 Content-ID: Content-Description: Return-Path: Received: from localhost (master AT localhost) by micro.internexus.net (8.8.8/8.8.8) with SMTP id QAA18858 for ; Thu, 2 Apr 1998 16:09:23 -0500 Date: Thu, 2 Apr 1998 16:09:23 -0500 (EST) From: Laszlo Vecsey Reply-To: Laszlo Vecsey To: Ciccio Subject: Re: remote execution In-Reply-To: <199804021423 DOT LAA09410 AT netco DOT mcn> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi. I've had success with building a cross compiler on linux from the djgpp misc section in the faq (www.delorie.com). Still, I needed to get a gcc specs from from a redhat distribution -- if you can, just grab the whole linux djgpp cross compiler in rpm format, its out there somewhere. I've had great success with building .exe's from linux, BUT not networking stuff. I gave up doing networking with djgpp because of the wsock.vxd / libsocket code that could not work with winsock2; hence the programs will not work on Win98. My solution? I'm now using (or will be using) gnu-win32 from cygnus.com. Its also a free compiler, built on gcc, but geared more towards windows. I believe a cross compiler from linux can also be built and I'm going to give that a try. About accessing a vxd, all I can suggest is taking a look at the wsock code because I dont have much experience with it. There is a link to wsock and I believe libsocket as well at http://master.internexus.net/Sites/, or check the djgpp mailing list archives.. or a netsearch. hope this helps! - lv On Thu, 2 Apr 1998, Ciccio wrote: > > Hi, > > While scanning the djgpp mailing list, I've found messages from you to > related topics, so I hope you don't mind if I ask you directly. > > I'm trying to find a way of executing a program on any kind of Windows > (from W3.11 forward), but from a linux box. I've searched the net for > ready programs, but could find only MRAD, which is too complex (I need > only the rexecd facilities). I was told, that the correct way to do it > is writing a VxD which is listening on the port and running the > requested programs. So I'll need to know how to write a VxD and how to > access Windows TCP/IP. I'm an experienced C programmer on unix, but > have no idea about assembly code or Windows facilities. Also, I would > like to be able to cross compile on linux. > > I'd be really grateful for any kind of pointer or help. > > ciccio > > PD. Pleas reply to netco AT nvc DOT com DOT br, as I didn't fix my mail headers > yet. > > --QAA18860.891551397/micro.internexus.net--