Sorry the proper subject should have been FPC on USB
--- On Sat, 6/13/09, Thomas Nelson wrote:

Mailing lists / fpc-pascal / 2009-06
13 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Sorry the proper subject should have been FPC on USB
--- On Sat, 6/13/09, Thomas Nelson wrote:
Thomas Nelson wroteSorry the proper subject should have been FPC on USB
I strongly suggest you look into storing a complete virtual machine on the USB storage. I know a few people who operate their VM's from USB devices and they are content with that arrangement.
The advantage is that the VM environment would not require any fragile or otherwise tricky configuration details and would be completely portable without any significant modifications to the host environment.
There are several free good implementations around.
Are you looking at USB flash drives or hard drives? It might make a big difference.
Sorry the proper subject should have been FPC on USB From: Thomas Nelson Subject: PFC on…
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.
Sorry the proper subject should have been FPC on USB From: Thomas Nelson Subject: PFC on…
This is about Lazarus which includes FPC:
http://www.eightminds.com/archives/22
Maybe you can use that.
Vincent
Vincent Snijders wroteThis is about Lazarus which includes FPC: http://www.eightminds.com/archives/22
Ah, that made me think of the website: Portable Apps, which does just that. All kinds of applications that only run off the USB drive.
Here is the Lazarus - portable.apps link:
http://portableapps.com/node/18088
Please note:
I have never tried this myself.
Regards,
- Graeme -
_______________________________________________________ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
In our previous episode, Graeme Geldenhuys said:
Is that complexity really needed at all? Might be as simple as making a small program that extracts the drive the stick is mounted on, then have that put in the environment, and then use %stickdrive% everywhere to recall it?
Marco van de Voort wroteIs that complexity really needed at all? Might be as simple as making a small program that extracts the drive the stick is mounted on, then have that put in the environment, and then use %stickdrive% everywhere to recall it?
"and then use %stickdrive% *everywhere* to recall it" sounds rather complex too, certainly if the work for portable apps is already done by somebody else.
Vincent
In our previous episode, Graeme Geldenhuys said: Is that complexity really needed at all?…
Marco van de Voort wroteIs that complexity really needed at all? Might be as simple as making a
No idea. As I mentioned, I don't use any of those "extra" applications. I simply have two scripts I run in a terminal session, and afterwards that session is fully working from any location on my system. I don't need any extra applications using my setup.
Regards,
- Graeme -
_______________________________________________________ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
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 wrote:
Thank you, I will look into this also
Tom
--- On Mon, 6/15/09, Vincent Snijders wrote:
Thank you, this is close to what I was hoping to do. I was hoping to be able to…
Thomas Nelson wrotethat 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 was not aware of that. What is actually written to the registry? I thought the compiler only uses the fpc.cfg file.
Regards,
- Graeme -
________________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
In our previous episode, Graeme Geldenhuys said:
> 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 was not aware of that. What is actually written to the registry? I thought the compiler only uses the fpc.cfg file.
The windows installer can register certain pascal extensions with the textmode IDE.
For the rest is it the adding to the PATH and the fpc.cfg file.
Thank you - having the extensions registered is not a large problem, as I don't mind typing in .pp or .pas - I should be able to set the Path - PathExt - and associations via a batch file.
Thanks to everyone for their assistance on this.
Tom
--- On Tue, 6/16/09, Marco van de Voort wrote: