This is the mail archive of the
mailing list for the Cygwin project.
Advices on compiling a C, C++, python and fortran code...
- From: Pierre Juillard <pierre dot juillard at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Sep 2015 22:45:48 +0200
- Subject: Advices on compiling a C, C++, python and fortran code...
- Authentication-results: sourceware.org; auth=none
I have found different emails related to compiling while linking
libraries in a Cygwin environment.
These mails are quite old (usually from year 2000 to 2003) and explain
how linking either libpthread.a or libdl.a with the program being
Manipulations indicated mention the need to create symbolic links to
link to either cygwin1.dll or libcygwin, or to use specific
Please, could someone tell me if such manipulations are still required
to be able to compile Code_Aster in latest cygwin environment (I am
Most notably, this code is written Fortran90 + C + C++.
Its compilation is managed by a quite complex python script that has
been written to work on Linux workstations (Debian, Ubuntu...).
The python script checks before compilation that the following
libraries are found in the system:
- libpthread.so or libpthread.a
- libdl.so or libdl.a
- libutil.so or libutil.a
- libm.so or libm.a
I confirm that the python script correctly found in the cygwin lib
directory the following ones:
Please, do I have with current cygwin version to use specific flags or
to create specific symlink to make sure the code get correctly linked
against these libraries?
Also, once the executable will be obtained, and if I want to copy it
on another Windws machine without Cygwin environment, do I have to
make sure to copy as well cygwin1.dll library? If so, in which
directory can I put it?
I thank you in advance for your help.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple