[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] [PATCH] Windows compilation error: #define concatenation
From: |
Jannick |
Subject: |
Re: [bug-gawk] [PATCH] Windows compilation error: #define concatenation in 'io.c' |
Date: |
Sat, 2 Jan 2016 21:26:11 +0100 |
Hi Eli,
From: Eli Zaretskii [mailto:address@hidden
Sent: Saturday, January 2, 2016 8:13 PM
To: Jannick <address@hidden>
Cc: address@hidden; address@hidden
Of course, that's the problem: the command line should say
-DSHLIBEXT=\"dll\"
because the value should be a C string. I don't understand how come you
came up with the command line with no quotes.
[J] I guess that my amendments to the make file for config purposes confused
not only me, but make as well in the end, so I had started to put the
command line together 'on foot'.
I have just tried the compilation with a fresh make file with no adjustment.
Running 'make mingw32' went through like a charm. Running make in the
extension sub-folder produced the only error:
gcc -I.. -shared -gdwarf-2 -g3 -static-libgcc -o testext.dll
testext.c
In function `test_deferred': testext.c:401: undefined reference to
`getuid'
> This was a great start into my new year, :( so a great 2016 to
> everyone out there.
Same to you.
[J] Thank you very much - and many thanks for your time.
Best,
J.