If you’re not setting these variables manually now, I wouldn’t mess with them. In your case (where you’re using a pre-built toolchain installed in
/opt/swi), you shouldn’t need to touch these. But if they are defined, mkTools will take compiler, linker, etc. paths from environment variables. How to set environment variables depends on which shell you’re using – check the documentation for your shell.
Are you either running
bin/legs or sourcing
bin/configlegatoenv first? If so, can you send me:
- the output of the
- the full output of whatever mk command you are running.
Preferably in a file attached to your post; the forum software will remove important characters (like _) if you’re not careful.