This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
portable [2014/05/30 09:42] czerny |
portable [2014/05/30 10:11] (current) czerny |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Pelles C portable ====== | ||
+ | |||
Here you can find instructions, how to prepare a portable version of Pelles C: | Here you can find instructions, how to prepare a portable version of Pelles C: | ||
Line 5: | Line 7: | ||
* Download setup.exe and setupsdk.exe | * Download setup.exe and setupsdk.exe | ||
* Install both at the location you want (your pendrive, for example). I will refer to this location as %PROGRAMFILES%. | * Install both at the location you want (your pendrive, for example). I will refer to this location as %PROGRAMFILES%. | ||
- | * Copy the following batch-file to %PROGRAMFILES%\PellesC | + | * Copy the following batch-file (PellesC.cmd) to %PROGRAMFILES%\PellesC |
- | '' | + | <code winbatch> |
@echo off | @echo off | ||
subst x: %~d0\ | subst x: %~d0\ | ||
bin\poide.exe /xml pellesc.xml %* | bin\poide.exe /xml pellesc.xml %* | ||
subst x: /D | subst x: /D | ||
- | '' | + | </code> |
+ | * Run PellesC.cmd and create Database | ||
+ | * Copy %APPDATA%\PellesC\sysdefs.tag and %APPDATA%\PellesC\snippets.db to %PROGRAMFILES%\PellesC\bin | ||
+ | * Create a directory %PROGRAMFILES%\PellesC\Usr\Bin (for your tools and dlls) | ||
+ | * Create a directory %PROGRAMFILES%\PellesC\Usr\Include (for your include files) | ||
+ | * Create a directory %PROGRAMFILES%\PellesC\Usr\Lib (your libraries) | ||
+ | * Create a directory %PROGRAMFILES%\PellesC\Usr\Hlp (your help files) | ||
+ | * Copy your tools, include files, libraries and help files to the appropriate directory and install them if necessary | ||
+ | * Edit %PROGRAMFILES%\PellesC\PellesC.xml. You have to adapt the drive and the path of your Pelles C installation. The drive should be '**X:**' If you have for example installed Pelles C to H:\PellesC you should change all occurences of %PROGRAMFILES%\PellesC to X:\PellesC | ||