Here is what I have done:
I tried extracting Lazarus installer for portable use, it worked, but doesn't create the fpc.cfg file. I didn't know how to get around that, so I then installed it via Sandboxie-plus. This basically done the same thing, but I don't know what registry settings were created. I then downloaded the WinPenPack X-Lazarus, which is way out of date now, then moved the Sandboxed install to the new location. I am having several issues, which I have found are due to the fpc.cfg settings not being correct.
I searched here for topics on this and nothing I found is answering my questions. Sorry if this has been gone through before, but I am new to Lazarus and programming. I have no idea how to use the app but want to learn.
So using AI, I have spent nearly five hours troubleshooting why I cannot compile and the upshot is that relative paths are meant to be supported but are not working in the fpc.cfg file, according to GitHub Copilot! Yeah, I know, but I have no other way to sort it out, not quickly, forums tend to be slow in response times, and I just wanted to get on and get it sorted.
Anyway, from what I see, some variables are used to create relative paths like the $FPCVERSION one for example. Are there any other variables I can use for relative paths?
I was given this as a relative path by Copilot, but it doesn't seem to work:
-Fu..\..\source\packages\rtl-objpas\src\inc
Do those types of relative paths work in the fpc.cfg file? I just want the drive letter removed as the location will be static on a USB device. But if there is a way to completely make the app and locations fully portable, I would like to know more.
I guess the question I wanted to ask has already been answered and is a resounding no? See ing as it hasn't happened in the last 15 years or so. I see posts about making Lazarus portable, but seems little has been done about making it natively portable. Is that a possibility? Would the dev's ever consider making the app fully portable?
Thanks and apologies for repeating what has likely been covered in previous posts! I did try the search but found little of help.