On Mon, Sep 11, 2006 at 11:44:25AM +0200, Kees Bakker wrote: > On Saturday 09 September 2006 19:18, Tristan Gingold wrote: > > On Fri, Sep 08, 2006 at 04:00:23PM +0200, Kees Bakker wrote: > > > Hi, > > > > > > I've got two environments where I want to run some tests using GHDL. > > > And I want to run ghdl using --PREFIX in a very similar manner. The > > > plan was to run with commands such as: > > > <somedir>/ghdl/bin/ghdl -a --PREFIX=<somedir>/ghdl/lib/ <vhdlfile> > > > <somedir>\ghdl\bin\ghdl -a --PREFIX=<somedir>\ghdl\lib\ <vhdlfile> > > > However, that sucks because on Linux the library patch is somewhere > > > burried deep in the tree at: > > > <somedir>/ghdl/lib/gcc/i686-pc-linux-gnu/4.1.1/vhdl/lib/ > > > > > > Is it possible to change that and install the library at the same > > > level as in Windows? > > You can change to install path by recompiling. > > Easy for you to say :-) What will happen to the rest of the tree > if I change the install path? I just want to move the v87 and v93 directories. > Anyway, I'll have a look at it. > > > You'd better to simply create a symbolic link! > > That sounds like the good solution. Here are the required symlinks (in case > someone else wants to know): > cd <somedir>/lib > ln -s gcc/i686-pc-linux-gnu/4.1.1/vhdl/lib/* . > cd <somedir> > ln -s lib/gcc/i686-pc-linux-gnu/4.1.1/vhdl/src . > > But there is still something which is not alright. The ghdl1 executable is > taken from the original location, not from the <somedir>/lib tree. In other > words the directory where ghdl1 is searched for is not controlled by --PREFIX. > Is there a way to override that one? Yes, use --GHDL1=/your/path
Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
