Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distributing a Cygwin C program 2

Status
Not open for further replies.

CaKiwi

Programmer
Apr 8, 2001
1,294
US
I want to create a program using cygwin gcc on one system and run it on another. One way to do this is to copy cygwin1.dll to the second system along with the program. However I understand that it is possible to link the program with Windows libraries but I can't find the syntax needed.

Thanks in advance

CaKiwi
 
Thanks ArkM, using the -mno-cygwin option described in the second link you gave me worked perfectly

CaKiwi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top