On Fri, Jul 11, 2014 at 10:27:00AM -0500, Ismael Farfán wrote:
>Hello list
>
>I've been searching allover the internet for "fork gcc cygwin linker"
>and stuff like that without much look :(
>
>In my test I use pthreads, fork, waitpid, random and other POSIX
>stuff, so the linker returns "LNK2019 un
Hello list
I've been searching allover the internet for "fork gcc cygwin linker"
and stuff like that without much look :(
In my test I use pthreads, fork, waitpid, random and other POSIX
stuff, so the linker returns "LNK2019 unresolved external symbol..."
What do I have to pass the compiler to g
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
thout any of this complication.
>
> What exactly are these libraries, what is the product that they're part
> of,
> and what is the /actual/ goal you're trying to get your program to
> achieve?
>
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline
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
alking about.
Unfortunately I'm still completely in the dark.
Brian Dessent wrote:
>
> km4hr wrote:
>
>> I thought Windows shared libraries were indentified by a ".dll"
>> extension.
>> However I have a commercial product installed that has a C pro
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 pr
sion.
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.
The Cygwin User's Guide contains an extremely brief section on linking
against DLL's
ve 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.
The Cygwin User's Guide contains an extremely brief section on linking
against DLL's (section 4.3.
On 27 May 2006 04:17, TmX wrote:
> I got a simple Winsock program & would like to compile it. The libwsock32.a
> is in \lib\32api\
>
> What's the parameter given to GCC so it links the program with the library
> in C:\cygwin\lib\w32api ?
"-lwsock32" should be all you need; the default linker s
My Cygwin dir is C:\cygwin
I got a simple Winsock program & would like to compile it. The libwsock32.a
is in \lib\32api\
What's the parameter given to GCC so it links the program with the library
in C:\cygwin\lib\w32api ?
--
View this message in context:
http://www.nabble.com/Ho
> "the link still fails" provides almost zero useful information.
True.
> Since Corinna went to some effort to add libutil functionality to the
> cygwin DLL a while ago and since I can't see any functions in libutil.so
> which are missing from cygwin1.dll, I don't see why this didn't work.
Okay,
On Fri, Sep 03, 2004 at 11:18:06PM -0400, Andrew Schulman wrote:
>>>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
>>>cannot find -lutil
>>
>>As you noted, the file doesn't exist in the cygwin distribution. It's
>>possible that you could just get by with removing it from
>>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
>>cannot find -lutil
>
> As you noted, the file doesn't exist in the cygwin distribution. It's
> possible that you could just get by with removing it from the link line
> entirely since it looks like most of the functions
On Fri, Sep 03, 2004 at 10:14:43PM -0400, Andrew Schulman wrote:
>I'm trying to build Unison version 2.9.99.??Compilation?succeeds,?but?
>the link step fails with
>
>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
>cannot find -lutil
>
>after running a gcc command that inc
I'm trying to build Unison version 2.9.99. Compilation succeeds, but
the link step fails with
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
cannot find -lutil
after running a gcc command that includes '-lutil'. I've searched the
Cygwin packages, and it does seem th
/ Elfyn McBratney <[EMAIL PROTECTED]> wrote:
| Try this:
>
| $ gcc -o test -L. libmetis.a initialize.c
>
| You need to include the static archive into your image. I'm pretty sure the -l{}
|only applies to shared libraries.
Just a short note, more that putting the lib at the end, -lmetis is
not
On Fri, Dec 20, 2002 at 03:00:13PM -0800, Elfyn McBratney wrote:
>Try this:
>
> $ gcc -o test -L. libmetis.a initialize.c
>
>You need to include the static archive into your image. I'm pretty sure the -l{} only
>applies to shared libraries.
Close.
gcc -o test initialize.c libmetis.a
Th
Try this:
$ gcc -o test -L. libmetis.a initialize.c
You need to include the static archive into your image. I'm pretty sure the -l{} only
applies to shared libraries.
Elfyn
[EMAIL PROTECTED]
--- Zhaosong Lu <[EMAIL PROTECTED]> wrote:
>Dear all,
>
>I dowload one graph partition package calle
Dear all,
I dowload one graph partition package called "metis" and build it into
"libmetis.a".
Then I write one file "initialize.c" which calls one function
'METIS_NodeND' inside from the package "metis". After compilation and
linking them under Cygwin/xFree86 as follows:
gcc -o test initiali
ng
with.
Larry
Original Message:
-
From: [EMAIL PROTECTED]
Date: Fri, 11 Oct 2002 11:10:38 -0400
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [REALLY OT] RE: 1.3.12-2 how to link with MS Platform SDK
OK,
I found my way around this problem with libraries. Just linke
ig thank you to Bill.
Good luck,
Larry
Original Message:
-
From: [EMAIL PROTECTED]
Date: Thu, 10 Oct 2002 15:58:57 -0400
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: 1.3.12-2 how to link with MS Platform SDK
Thanks, God.
Somebody knows what I'm talking about !
Here i
e: Thu, 10 Oct 2002 16:15:34 -0400
To: [EMAIL PROTECTED]
Subject: Re: [REALLY OT] RE: 1.3.12-2 how to link with MS Platform SDK
On Thu, Oct 10, 2002 at 04:07:29PM -0400, Igor Pechtchanski wrote:
>On Thu, 10 Oct 2002 [EMAIL PROTECTED] wrote:
>
>> Thanks, God.
>> Somebody knows what
On Thu, Oct 10, 2002 at 04:07:29PM -0400, Igor Pechtchanski wrote:
>On Thu, 10 Oct 2002 [EMAIL PROTECTED] wrote:
>
>> Thanks, God.
>> Somebody knows what I'm talking about !
>> [snip]
>>
>> > Larry
>
>I'm sure Larry would appreciate this new religious following :-D
Oh great. Now the church will
On Thu, 10 Oct 2002 [EMAIL PROTECTED] wrote:
> Thanks, God.
> Somebody knows what I'm talking about !
> [snip]
>
> > Larry
I'm sure Larry would appreciate this new religious following :-D
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_
|
| To: Nickolai G. Bogdatov/EMPL/FL/Verizon@VZNotes, [EMAIL PROTECTED]
|
| cc:
|
| S
is likely
the problem.
Larry
Original Message:
-
From: [EMAIL PROTECTED]
Date: Thu, 10 Oct 2002 15:08:57 -0400
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: 1.3.12-2 how to link with MS Platform SDK
During linking it gives me "enr
During linking it gives me "enresolved external"
Regards,
Nickolai Bogdatov
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
What happens when you link with DhcpCSvc.Lib from the MS Platform SDK?
Larry
Original Message:
-
From: [EMAIL PROTECTED]
Date: Thu, 10 Oct 2002 12:03:51 -0400
To: [EMAIL PROTECTED]
Subject: 1.3.12-2 how to link with MS Platform SDK
Hello,
My application controls MS DHCP
Hello,
My application controls MS DHCP Server and because of that needs to use
some calls from MS Platform SDK.
For example I have to call "DhcpCApiInitialize()" function.
I do
#include // dhcp client options api
Compilation goes no problem. But when I'm trying to link it gives me a
erro
On 12 Dec 2001 at 21:05, TC Shen wrote:
> Hello:
> I am not sure whether this is possible or not.
>
> I just need to tell MSVC to link with CYGWIN dll (with iostream)
> instead of the one came with MSVC. Can I do this? How?
Seriously doubt it as the two are largely incompatible.
Hello:
I am not sure whether this is possible or not.
I just need to tell MSVC to link with CYGWIN dll (with iostream)
instead of the one came with MSVC. Can I do this? How?
thank you
tcs
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cy
45 matches
Mail list logo