[PC-BSD Pbi-dev] Change PBI installation directory

Radio młodych bandytów radiomlodychbandytow at o2.pl
Tue May 21 12:13:01 PDT 2013

On 20/05/2013 13:26, Ken Moore wrote:
> On 05/19/2013 12:11, Radio młodych bandytów wrote:
>> Hello.
>> I'm just tweaking my PC to play with a number of C compilers...almost
>> all that are in ports actually. I built PBIs for them, but when it came
>> to installation, it appears that I can't have multiple gcc versions
>> simultaneously, I'm getting error:
>> pbi_add: /usr/pbi/gcc-amd64 already exists! Use -f to force installation.
>> Is there a way to have a gcc version number in the directory?
> You just need to give each PBI a slightly different program name. Try
> just appending the version number to it like this: GCC45, GCC46..... and
> that should let you install multiple PBIs for the same compiler. Of
> course. This might cause some issues with the default path links if the
> main binaries are all named exactly the same thing too, but as long as
> you specify the pbi directory when running the compiler
> (/usr/pbi/<pbiname>-<arch>/.sbin/<binary>) you can make sure to run
> whichever one you want.
It worked, thank you.
Twoje radio

More information about the Pbi-dev mailing list