it would be nice if pd-lib-builder recognized IRIX as a system.
it's very similar to the "Linux" system we already have, except that:
- the latest(?, at least the one commonly found on those systems) gcc is GCC-3.3
- for calculating the dependencies we might need to provide special flags to the compiler.
- sometimes we need specific compiler flags for a given build, which the user can provide with
CPPFLAGS, CFLAGS and CXXFLAGS; however these flags are not used for the depcheck:
|
# flags for dependency checking (cflags from makefile may define -I options) |
|
depcheck.flags := $(cpp.flags) $(cflags) |
- we could use
cflags, but this is not a user-facing variable, and passing it on the cmdline (e.g. make cflags=-std=c99), will completely override any cflags set in the library specific Makefile ☹️
- we could also set the
cflags in the library specific Makefile, but that doesn't really work if the flags are very specific to the compiler on the system ☹️
- so ideally we would be able to inject some (additional)
depcheckflags
- the default file extension (
.pd_irix6 or .pd_irix5)
- the
warn.flags
|
warn.flags = -Wall -Wextra -Wshadow -Winline -Wstrict-aliasing |
include flags that are not yet available (-Wextra) and that seem to trigger on false positives (-Winline)
since I'm not entirely convinced whether adding support for such a niche system is actually desirable/worth it, I'll try to see if I can make it work with simply passing the right vars to make (in which case I guess we can consider this feature request moot)
it would be nice if pd-lib-builder recognized IRIX as a system.
it's very similar to the "Linux" system we already have, except that:
CPPFLAGS,CFLAGSandCXXFLAGS; however these flags are not used for thedepcheck:pd-lib-builder/Makefile.pdlibbuilder
Lines 667 to 668 in 7752526
cflags, but this is not a user-facing variable, and passing it on the cmdline (e.g.make cflags=-std=c99), will completely override anycflagsset in the library specificMakefilecflagsin the library specificMakefile, but that doesn't really work if the flags are very specific to the compiler on the systemdepcheckflags.pd_irix6or.pd_irix5)warn.flagspd-lib-builder/Makefile.pdlibbuilder
Line 655 in 7752526
-Wextra) and that seem to trigger on false positives (-Winline)since I'm not entirely convinced whether adding support for such a niche system is actually desirable/worth it, I'll try to see if I can make it work with simply passing the right vars to
make(in which case I guess we can consider this feature request moot)