Hi,
acc. to your sugestion:
- after checking command printenv, I've received the below info (I guess Cygwin is a bash shell?).
[...]
SHELL=/bin/bash
[...]
and after checking only "export" command works,
- after changing to makefile.in for gcc and used of different export localization (suggested by you) command "make" is alive!
But with few errors. For full transcript please take a look in attachment, below short clipping:
->make[3]: Entering directory '/cygdrive/d/rozne/FEAPpv/feappv-5.1.1c/elements/material'
Building material.o
rvemat.f:2:25:
2 | subroutine rvemat(d,f,detf,ta,hn,hn1,nh, sig,dd,isw)
| 1
Warning: Unused dummy argument ‘d’ at (1) [-Wunused-dummy-argument]
(the same for another arguments like 'dd', 'deft', 'numnp', 'filmnp' ... and for others localization: materials, solid3d, thermal, program)
-> make[2]: Entering directory '/cygdrive/d/rozne/FEAPpv/feappv-5.1.1c/program'
Building acheck.o
acosd.f:2:6:
2 | function acosd(x)
| 1
Warning: ‘acosd’ declared at (1) is also the name of an intrinsic. It can only be called via an explicit interface or if declared EXTERNAL. [-Wintrinsic-shadow]
[...]
psolve.f:53:72:
53 | tdiff = tary(1)
| ^
Warning: ‘tary’ may be used uninitialized [-Wmaybe-uninitialized]
psolve.f:43:40:
43 | real (kind=4) :: etime, tt,tary(2)
| ^
note: ‘tary’ declared here
(the same for another functions like 'asind(x)')
-> make[2]: Entering directory '/cygdrive/d/rozne/FEAPpv/feappv-5.1.1c/plot'
[...]
Building vecp.o
vem_compp.f:2:34:
2 | subroutine vem_compp(k, iplt, nel, iu)
| 1
Warning: Unused dummy argument ‘iplt’ at (1) [-Wunused-dummy-argument]
(the same for another arguments like 'iu', ...)
-> Fatal error
make[2]: Entering directory '/cygdrive/d/rozne/FEAPpv/feappv-5.1.1c/unix'
[...]
Building tplot.o
x11u.c:64:10: fatal error: X11/Xlib.h: No such file or directory
64 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [makefile:42: /cygdrive/d/rozne/FEAPpv/feappv-5.1.1c/Feappv_g.a(x11u.o)] Error 1
make[2]: Leaving directory '/cygdrive/d/rozne/FEAPpv/feappv-5.1.1c/unix'
a - clpan.o
[...]
a - tplot.o
--->/cygdrive/d/rozne/FEAPpv/feappv-5.1.1c/unix objects now up-to-date<---
make[1]: *** [makefile:16: archive] Error 1
make[1]: Leaving directory '/cygdrive/d/rozne/FEAPpv/feappv-5.1.1c/unix'
make: *** [makefile:19: archive] Error 2
I guess the last fatal error is the crucial one at this stage.
Additionally, I want to say sorry for my "not-even-basic "knowledge of Cygwin and thank you both for your help.