Compiling Nim package from source is not that hard. On my Windows system, I 
usually do these:
    
    
    $ cd csources
    $ build64.bat
    $ cd ..
    $ bin\nim c koch
    $ koch boot -d:release
    $ koch tools
    $ koch nimble
    
    
    Run

Of course, now my Nim source code directory is polluted with executables, 
object files, and so on. Is there an automated way to install the only 
necessary executables and subdirectories on another directory?.

On Free Pascal, you can do this: 
    
    
    $ cd <FPC source directory>
    $ make install INSTALL_PREFIX=C:\FPC\3.1.1 NOGDB=1
    $ make clean
    
    
    Run

That means a new Free Pascal compiler package will be built on C:\FPC\3.1.1, 
and you can clean the source directory afterwards.

Reply via email to