Use cc-built static library from Win32 ?
flagga
8 meddelanden - Komprimera alla
/groups/adfetch?hl=sv&adid=s6oouxEAAAA6AAfWA3Oh0lK-mW4EwZ1TnT3luubDeskUok6AUQ17nQ
Gruppen som du skickar meddelanden till är en Usenet-grupp. Meddelanden som skickas till den här gruppen gör ditt mail synligt för alla på Internet.
Ditt svarsmeddelande har inte skickats.
Ditt meddelande har publicerats
 
Från:
Till:
Kopia:
Uppföljning på:
Lägg till kopia | Lägg till uppföljning | Redigera ämne
Ämne:
Validering:
Av verifieringsskäl ber vi dig att skriva in de bokstäver du ser i bilden nedan eller de siffror som du hör om du klickar på tillgänglighetsikonen. Lyssna och skriv talen du hör
 
1.  Johan Nilsson  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 15 mar 2004, 16:07
Nyhetsgrupper: microsoft.public.servicesforunix.general
Från: "Johan Nilsson" <johan.nils...@---.esrange.ssc.se>
Datum: Mon, 15 Mar 2004 16:05:11 +0100
Lokalt: Mån 15 mar 2004 16:05
Ämne: Use cc-built static library from Win32 ?
Hi,

I'm attempting to port a unix client-server combo to NT/2000/XP. The
application basically consists of a daemon which communicates with its
clients through fifos or tcp sockets, while the client interface is provided
as a number of header file and a static library. We've got source code for
the entire application.

As the current source code heavily depends on unix programming interfaces
not natively supported under NT, I thought there might be a possibility to
build the stuff under Interix (SFU 3.5). I've just started this and it seems
to work out pretty smooth, but I've got one major question (to which I
believe the answer is a negative one): Is it possible to build the daemon
and client access library under SFU, using cc _and_ be able to link to the
client library from a regular Win32 application? I'd be happy to require the
SFU installed on the machines where the server/clients are run, but I'd like
to be access the server from 'pure' Win32 applications using the client
library.

Possible?

// Johan


Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
2.  Mark Funkenhauser  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 16 mar 2004, 19:04
Nyhetsgrupper: microsoft.public.servicesforunix.general
Från: "Mark Funkenhauser" <mfunkenhauserNOS...@rogers.com>
Datum: Tue, 16 Mar 2004 13:02:15 -0500
Lokalt: Tis 16 mar 2004 19:02
Ämne: Re: Use cc-built static library from Win32 ?

Sorry, not yet.
For Win32 applications to link to your client library, your library will have to
be built in a Win32 compile environment.

mark


Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
3.  Johan Nilsson  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 17 mar 2004, 09:41
Nyhetsgrupper: microsoft.public.servicesforunix.general
Från: "Johan Nilsson" <johan.nils...@---.esrange.ssc.se>
Datum: Wed, 17 Mar 2004 09:39:23 +0100
Lokalt: Ons 17 mar 2004 09:39
Ämne: Re: Use cc-built static library from Win32 ?

"Mark Funkenhauser" <mfunkenhauserNOS...@rogers.com> wrote in message

news:OT67HD4CEHA.3748@TK2MSFTNGP11.phx.gbl...
> "Johan Nilsson" <johan.nils...@---.esrange.ssc.se> wrote in message

news:egkXp7pCEHA.2404@TK2MSFTNGP11.phx.gbl...

That almost sounds like 'sometime in the future, perhaps...'

> For Win32 applications to link to your client library, your library will
have to
> be built in a Win32 compile environment.

Which isn't possible due to usage of mkfifo, usleep, statfs, various signal
stuff etc ... well, I didn't actually believe it was possible anyway.

Thanks // Johan


Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
4.  Gaurav Daga [MS]  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 23 mar 2004, 22:38
Nyhetsgrupper: microsoft.public.servicesforunix.general
Från: "Gaurav Daga [MS]" <gaur...@online.microsoft.com>
Datum: Tue, 23 Mar 2004 13:35:19 -0800
Lokalt: Tis 23 mar 2004 22:35
Ämne: Re: Use cc-built static library from Win32 ?
Johan - what is the real life scenario that requires you to link to the
client library built on Interix from a pure Win32 application? Please
detail.

--
This post is provided "as is" and confers no warranties or rights.

"Johan Nilsson" <johan.nils...@---.esrange.ssc.se> wrote in message

news:%23eogat$CEHA.3472@TK2MSFTNGP09.phx.gbl...


Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
5.  Johan Nilsson  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 24 mar 2004, 14:26
Nyhetsgrupper: microsoft.public.servicesforunix.general
Från: "Johan Nilsson" <johan.nils...@esrange.ssc.se>
Datum: Wed, 24 Mar 2004 14:24:43 +0100
Lokalt: Ons 24 mar 2004 14:24
Ämne: Re: Use cc-built static library from Win32 ?

"Gaurav Daga [MS]" <gaur...@online.microsoft.com> wrote in message
news:%236BnR7REEHA.3372@TK2MSFTNGP10.phx.gbl...

> Johan - what is the real life scenario that requires you to link to the
> client library built on Interix from a pure Win32 application? Please
> detail.

I need to access a unix application from Win32 clients, as this is my
platform of choice for the moment (Win2k/XP/2003 only is ok). I managed to
build the application + client libraries under Interix without too much
problems so I figured (somewhat ignorant perhaps) that if I could somehow
link to the library from my Win32 applications the issue would be solved ...

The effort required to port the entire application to Win32 seems pretty
daunting to me for the moment (and we still have a need to run it under
other Unix platforms), basically because it was never intended to be run on
other types of platforms. There is _lots_ of usage of signals, fifos,
usleep, etc etc etc that aren't directly supported under Windows, and
because they are scattered throught the entire codebase it's no minor task
to extract the platform differences and add a wrapping layer (not without
some ugly hacking anyway).

As I mentioned in my previous posting, this is a client/server application;
clients talk to the server through fifo special files only. I figured it
would not be too much of a hassle to just port the client/server protocol
part to Win32, but I can't get hold of the interix fifos from the client
application - this is the reason for my other post titled 'mkfifo
implementation'. Could you be of any help here?

Thanks in advance.

// Johan


Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
6.  Gaurav Daga [MS]  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 29 mar 2004, 21:24
Nyhetsgrupper: microsoft.public.servicesforunix.general
Från: "Gaurav Daga [MS]" <gaur...@online.microsoft.com>
Datum: Mon, 29 Mar 2004 11:23:20 -0800
Lokalt: Mån 29 mar 2004 21:23
Ämne: Re: Use cc-built static library from Win32 ?
Would it be possible to replace the communication using sockets or shared
memory? Both these IPC constructs work very well between Interix and Windows
process boundaries.

--
This post is provided "as is" and confers no warranties or rights.

"Johan Nilsson" <johan.nils...@esrange.ssc.se> wrote in message

news:%236qFgNaEEHA.3788@TK2MSFTNGP10.phx.gbl...


Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
7.  Johan Nilsson  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 30 mar 2004, 08:24
Nyhetsgrupper: microsoft.public.servicesforunix.general
Från: "Johan Nilsson" <johan.nils...@---.esrange.ssc.se>
Datum: Tue, 30 Mar 2004 08:22:00 +0200
Ämne: Re: Use cc-built static library from Win32 ?

"Gaurav Daga [MS]" <gaur...@online.microsoft.com> wrote in message
news:uAsrZNcFEHA.576@TK2MSFTNGP11.phx.gbl...

> Would it be possible to replace the communication using sockets or shared
> memory? Both these IPC constructs work very well between Interix and
Windows
> process boundaries.

That's exactly what I intend to do (i.e. sockets) - but it will take some
time to implement and test.

// Johan


Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
8.  Doug Akers  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 16 mar 2004, 20:50
Nyhetsgrupper: microsoft.public.servicesforunix.general
Från: "Doug Akers" <dougaNOS...@mks.com>
Datum: Tue, 16 Mar 2004 14:48:19 -0500
Lokalt: Tis 16 mar 2004 20:48
Ämne: Re: Use cc-built static library from Win32 ?
The MKS Toolkit for Enterprise Developers product will allow you to port
your application using a make and cc build environment and link to Win32
libraries.

"Johan Nilsson" <johan.nils...@---.esrange.ssc.se> wrote in message

news:egkXp7pCEHA.2404@TK2MSFTNGP11.phx.gbl...


Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.

Skapa en grupp - Google-grupper - Googles startsida - Användarvillkor - Sekretesspolicy
©2009 Google