Using fork() and pthread() OR how to link against cygwin?

Ismael Farfán sulfurfff@gmail.com
Fri Jul 11 15:27:00 GMT 2014


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 get those functions?

We use the ictl (intel) compiler, but gcc hasn't worked either.

Regards
Farfan



-- 
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list