Bob McConnell wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Larry Hall (Cygwin)
Sent: Friday, June 29, 2007 2:37 PM
To: cygwin@cygwin.com
Subject: Re: How to link with third party libraries using gcc
Bob McConnell wrote:
Whether the
On Fri, Jun 29, 2007 at 03:31:14PM -0400, Bob McConnell wrote:
>I have attempted to go the other way, with no success. I tried to use
>Cygwin B.20 to write some MS-Windows services a few years ago. One was a
>simple TCP/IP socket proxy, and I never could get it to talk with the
>Service Control Man
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Larry Hall (Cygwin)
> Sent: Friday, June 29, 2007 2:37 PM
> To: cygwin@cygwin.com
> Subject: Re: How to link with third party libraries using gcc
>
> Bob McConnell wrote:
&g
Bob McConnell wrote:
Whether the libraries are linked dynamic or static is irrelevant here.
The Windows libraries are stored in a different object format than the
Unix and Cygwin libraries, and probably have different calling
The format of Windows and Cygwin libraries are the same.
conv
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of km4hr
> Sent: Friday, June 29, 2007 11:19 AM
> To: cygwin@cygwin.com
> Subject: RE: How to link with third party libraries using gcc
>
>
> Dave,
>
> The librar
On 29 June 2007 16:19, km4hr wrote:
> Dave,
>
> The libraries I'm dealing with provide an C programming interface to an
> industrial control system. The system is a Fisher DCS (distributed control
> system). The DCS contains thousands of temperatures, pressures, flowrates,
> etc from processes
rogram running on your unix box?
> Because that is equivalent to what you are trying to do.
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem report
today
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
>
--
View this
On 29 June 2007 15:26, km4hr wrote:
> computer. I have no idea how cygwin does that. But with all the complex
> obstacles that the cygwin developers have obviously overcome it's puzzling
> to me why something as seemingly ordinary as Windows libraries is so
> mystifying.
Because they are *win
ve been told the
instructions in the cygwin user's guide make no sense. Then I'm offered
several opinions about what I should do. It makes me wonder how Windows' own
programming tools are able to link with their own libraries if the standards
are so vague and haphazard. I guess I
km4hr wrote:
Well, I think I'm about at the end of my road. My purpose for trying cygwin
was to see if it could insulate me from having to learn to program on
Windows. But if I've got to go to MSNBC (or whatever) or google the internet
to figure out the internals of Windows then that defeats my p
On 28 June 2007 19:53, km4hr wrote:
> Well, I think I'm about at the end of my road. My purpose for trying cygwin
> was to see if it could insulate me from having to learn to program on
> Windows. But if I've got to go to MSNBC (or whatever) or google the internet
> to figure out the internals of
nc. (508) 893-9779 - RFK Office
> 216 Dalton Rd. (508) 893-9889 - FAX
> Holliston, MA 01746
>
> _________
>
> A: Yes.
> > Q: Are you sure?
> >> A: Because it reverse
km4hr wrote:
> I got exactly the same errors as I did with the ".lib" files included.
> Apparently gcc has no idea what the ".lib" files are.
No, it would have said "unable to find library1.lib" if that was the
case.
> Since I have no comprehesion of "decorations", "toolchains", and "calling
> c
On Thu, Jun 28, 2007 at 11:22:24AM -0400, Larry Hall (Cygwin) wrote:
> Not at all. But you need to learn a little bit about the platform you're
> working with before things will make some sense to you.
What is this "learn" thing of which you speak? Why can't this be more
like a toaster?
I only
km4hr wrote:
Brian,
It sounds like the solution could range from something as simple as
including the ".lib" files on the gcc command line on up to complicated
stuff I've never heard of like "decorations", "toolchains", and "calling
conventions".
I tried the simple suggestion. I copied the ".li
ight. For 2) you create an import library that
> contains the necessary aliases, or if your compiler already uses the
> same decorations as the library, you can just link against the DLL
> directly without an import lib at all.
>
> Brian
>
> --
> Unsubscribe info: http://
km4hr wrote:
> I thought Windows shared libraries were indentified by a ".dll" extension.
> However I have a commercial product installed that has a C programming
> interface. It's libraries have a ".lib" extension. I am totally lost as to
> how to link my program to these files.
A .lib file is j
km4hr wrote:
I do a fair amount of C programming on Unix but almost none on Windows. I
know almost nothing about Windows libraries. I'd be happy if I never had to
deal with them at all. But I have a need.
I thought Windows shared libraries were indentified by a ".dll" extension.
However I have
es. The resulting ".def" file won't work with the second step
which is:
dlltool --def foo.def --dllname foo.dll --output-lib foo.a
The error I get from the above command says that the ".def" file has
incorrect format.
In summary, I'm totally lost. I have no idea what&
20 matches
Mail list logo