Re: Hello@All + Cygwin64

2020-05-29 Thread drav...@dravionsoftware.com


On 5/29/2020 9:11 PM, chris wrote:
> You may want to omit '--with-libs=/usr/local/lib' and instead target
> individual libraries, e.g. '--with-cflags="-I/usr/local/openssl/include"
> --with-ldflags="-L/usr/local/openssl/lib"' ; the aforementioned is
> causing gcc to attempt to output over a directory. (as per config.log)

i tested it:

./configure '--with-cflags="-I/usr/local/include"
--with-ldflags="-L/usr/local/lib"'

but the outcome is still the same.

#Error
checking if compiler allows __attribute__ on return types... yes
checking compiler and flags for sanity... no
configure: error: *** compiler cannot create working executables, check

I guess it's something else, maybe it has some problems figuring out my
system specs (which are not Linux/Not Unix) ;-)

uname -a CYGWIN_NT-10.0 CAMELOT 3.1.4(0.340/5/3) 2020-02-19 08:49 x86_64
Cygwin

My libressl build works fine.
Dravion@CAMELOT /usr/local/include

$ ls -la
total 24
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 .
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 ..
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 openssl
-rw-r--r--  1 Dravion None 9416 May 29 14:13 tls.h

Dravion@CAMELOT /usr/local/lib
$ ls -la
total 22036
drwxr-xr-x+ 1 Dravion None    0 May 29 14:14 .
drwxr-xr-x+ 1 Dravion None    0 May 29 14:13 ..
-rw-r--r--  1 Dravion None 16054220 May 29 14:13 libcrypto.a
-rw-r--r--  1 Dravion None  2439224 May 29 14:12 libcrypto.dll.a
-rw-r--r--  1 Dravion None  910 May 29 14:12 libcrypto.la
-rw-r--r--  1 Dravion None  346 May 29 14:13 libssl.a
-rw-r--r--  1 Dravion None   202402 May 29 14:13 libssl.dll.a
-rw-r--r--  1 Dravion None  923 May 29 14:13 libssl.la
-rw-r--r--  1 Dravion None   558660 May 29 14:13 libtls.a
-rw-r--r--  1 Dravion None    59596 May 29 14:13 libtls.dll.a
-rw-r--r--  1 Dravion None  948 May 29 14:13 libtls.la
drwxr-xr-x+ 1 Dravion None    0 May 29 14:14 pkgconfig

Dravion@CAMELOT /usr/local/bin
$ ./openssl version
LibreSSL 3.1.2




Re: Hello@All + Cygwin64

2020-05-29 Thread chris
You may want to omit '--with-libs=/usr/local/lib' and instead target
individual libraries, e.g. '--with-cflags="-I/usr/local/openssl/include"
--with-ldflags="-L/usr/local/openssl/lib"' ; the aforementioned is
causing gcc to attempt to output over a directory. (as per config.log)