Re: linking multiple function from .lib to CYGWIN

2023-07-18 Thread Takashi Yano via Cygwin
On Tue, 18 Jul 2023 11:32:53 +0300 Mümin A. wrote: > Hi, > > Thank you for prompt reply, > > I couldn't find gcc 12 in the cygwin installer. How can I find it? > > And, We are already linking the library dynamically. We have fooCls.dll and > fooCls.lib files in the project. > Is there another wo

Re: linking multiple function from .lib to CYGWIN

2023-07-17 Thread Takashi Yano via Cygwin
On Fri, 14 Jul 2023 11:51:59 +0300 Mümin A. wrote: > Hi, > > I can only link one function at a time in a *msvc *built library but when I > use multiple functions in the CYGWIN > compiler, I got that error message. > > int main() > { > helloWorld2(); > return 0; > } > > That is compiled and link

linking multiple function from .lib to CYGWIN

2023-07-14 Thread Mümin A . via Cygwin
Hi, I can only link one function at a time in a *msvc *built library but when I use multiple functions in the CYGWIN compiler, I got that error message. int main() { helloWorld2(); return 0; } That is compiled and linked successfully. int main() { helloWorld2(); helloWorld3(); return 0; } Tha