[fpc-pascal] FPC on USB
Thomas Nelson
sk_tnelson at yahoo.com
Mon Jun 15 19:04:16 CEST 2009
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 <graemeg at opensoft.homeip.net> wrote:
From: Graeme Geldenhuys <graemeg at opensoft.homeip.net>
Subject: Re: [fpc-pascal] FPC on USB
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
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 - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20090615/9640c341/attachment.html>
More information about the fpc-pascal
mailing list