I noticed at Amigans.net that 2 different programs (CMake & AmiCygnix) are setting completely different PATH variables. For anyone writing or porting a program that uses environmental variables, I would suggest replacing common variable names like PATH or SHELL with custom names (xyzPATH, wmyPATH etc.). I've already pointed out the conflict in some Amigans.net forums. It's probably a little late but it wouldn't hurt to have and environmental variable name registry somewhere.
AmigaOne X1000 with 2GB memory - OS4.1 FE