On Sun, 14 Mar 2010, Jeremy Lee wrote: > > Has anyone out there managed to get any of the various > compilers/assemblers working on 'hosted website' servers such as > Dreamhost? Since you can't mess with system directories, everything has to > work out of the user's own home directory. > > I tried this a little while ago with the GNU C compiler and latest > Microchip libraries, but GCC complains (to the point of not compiling) if > you try to use '~/' as part of the install path, and giving a literal path > to your home directory also doesn't work, I think due to the > virtualization of where your home directory actually is. (At least on > Dreamhost) > > My goal is to create an online PIC compiler so that when I release code, > everyone else can use the same tools I used to modify and recompile. > (There are critical/timed sections of code which need to be reliably > compiled to the same machine code every time, or things go wrong) Plus it > reduces the barrier to entry for newbies, as setting up compiler > environments can be tricky. > > Anyone? [PIC] tag added Can you change the root (via chroot) on the system you are trying to use. If so you could set up a "dummy" box within your real (or virtual box). It would require copies or HARD links to every file you need because once you set the new root you would not be able to access anything relative to the old root (except via HARD links - symbolic links wont work). Regards Sergio Masci -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist