Thank you, this is close to what I was hoping to do. I was hoping to be able to install FPC on my system, then do a copy to my USB, setup a batch program to the "path" and go. I did notice though that FPC writes to the windows registry and was curious as to how critical that information is to the operation of FPC from the USB. I appreciate your response, it is very similar to what I was hoping to do. Tom
--- On Mon, 6/15/09, Graeme Geldenhuys <[email protected]> wrote: From: Graeme Geldenhuys <[email protected]> Subject: Re: [fpc-pascal] FPC on USB To: "FPC-Pascal users discussions" <[email protected]> Date: Monday, June 15, 2009, 3:13 AM Thomas Nelson wrote: > I would like to put the FPC development environment (including > fpgui) on a USB. > > I live in the windows environment and would I am trying to find the > proper procedure to be able to make FPC portable as I go from > computer to computer. I have a similar setup, but under Linux. What I had to do is create two scripts (The windows term would be batch files) to setup my environment. For example, the one script sets the PATH environment variable to include the FPC/bin directory. That way the terminal I used to execute that script can locate and use fpc (ppc386) from any location - note that it only works for that terminal. The other scrip I have is to load the Lazarus IDE and my custom script passes in the --pcp=<pathhere> parameter for my roaming profile directory. My external drive is always mounted as: /media/640gig/ FPC is located at: /media/640gig/fpc_2.2.5 Lazarus is at: /media/640gig/lazarus fpGUI is at: /media/640gig/programming/fpgui My local projects are at: /media/640gig/programming/ This setup is not ideal, but in my controlled environment, it allows me to move from desktop to laptop and still have all my projects available and my development environment. -- Regards, - Graeme - _______________________________________________________ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
