-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
swipl-ld looks for non-existent flags + some missing "help" #1195
Comments
It all looks pretty much outdated. Not really sure whether it should be refreshed a little or be replaced. Question is "by what"? Yes, the flags are no longer used. Most also have become irrelevant as most of the shared object stuff is now really standard. Long options all use It might be wise to by default use |
OK, I'll do a minor update to the code and documentation. |
If you were to replace
A replacement or replacements should probably be in a scripting language, which would make it a lot shorter and more easily modified than the existing C code. |
Yes. CMake might be a viable option to deal with this. It has all the stuff to deal with the linking. The installation already creates CMake config files in It seems that CMake has developed itself to be the de-facto standard for managing build processes. But, just |
swipl-ld looks for these flags that don't exist from
swipl --dump-runtime-variables
:PLLIBS
(this has a comment "Always required")PLLDFLAGS
PLCFLAGS
These are missing from "help":
-pg*
-g3
-gdward-*
and the following causes strange things to happen (seems to dump a bunch of environment variables, using
printenv
, onto theswipl
command):-pl-options '--no-pce'
but this does what's expected:
-pl-options=--no-pce
.So, I think we need to document which options take a
=
.(I can make the changes, but first I want to know if there's a bug with the 3 flags that I mentioned at the beginning of this bug report)
The text was updated successfully, but these errors were encountered: