-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling on linux #72
Comments
Ended up just going the cross compilation route for the that being said if anyone needs a copy of |
I've no idea (I've not used Linux in many years). The
It's terribly outdated. Better pull from Github.
This seems correct for Linux (no djgpp FSextensions there). Maybe you could contribute that to OpenSSL? |
My old 2.2.11-sezero branch has several improvements to configure.sh and makefile.all: |
I think something went wrong there:
|
A better solution for cross-compiling, would be to run something like: echo | i386-pc-msdosdjgpp-gcc -x c -E -dM --include errno.h - | grep 'define E' And then parsing the output from that in a native program/script. But I don't |
I have indeed done that at this point
I have opened a ticket here: openssl/openssl#21259 (comment)
Thank you so much for these links - I'll look into them later
fascinatingly enough: according to: https://man7.org/linux/man-pages/man3/errno.3.html
|
this is a brilliant solution for my use case, but you're right in that it's very likely only supported by gcc |
I don't think it's intentional, and it seems this is what causes it: Lines 358 to 359 in d99548f
That macro is defined for Anyway, I'm wondering now why |
Ah, good point - I should've documented that - I don't believe I specified any MinGW flags - that might be why I more or less cobbled something together from the makefile for I should definitely specify |
No, that macro shouldn't be defined, but somehow it is. From the $ make -f dj-errno.mak dj_err.exe BIN_PREFIX=i386-pc-msdosdjgpp- That should do the right thing. Or alternatively, you can use these: https://github.com/jwt27/build-gcc/blob/master/patch/watt32-djgpp-cvs/djgpp.err |
Just a thought - do all supported compilers at least have a "preprocess only" option? If so, you could pre-process part of |
Hi there - how do I compile on linux?
./configur.sh
doesn't seem to generate the*.err
files as noted in the the header ofconfigur
Is this only something that can be built on windows?
edit:
it just occurred to me that the main reason why I'm even going down this path is because the latest binary version of
watt32
available on the website is2.2
from2018
I'm trying to compile
OpenSSL (3.x)
for use withdjgpp
and it seems to be missing a definition forSHUT_RD
whichsys/socket.h
on master in this repository.I should be able to compile
OpenSSL
correctly if given a new binary version.n.b.:
the artifacts that were available on appveyor are not available currently as they are over one month old
The text was updated successfully, but these errors were encountered: