pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installing and using pkgsrc with external compiler (in HPC environment) ... library path troubles.




Thanks for the tip - it doesn't quite work for me, though.

I tried using this to bootstrap from /usr/local/bin/gcc47 on FreeBSD. The bootstrap process did indeed use gcc47, but package builds do not. I added the following quick-check to a package Makefile:

pre-build:
        ${CC} -v

Output:

===> Building for ape-3.5.2
cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]

Also:

FreeBSD sculpin.jbacon bacon ~/Pkgsrc/pkgsrc-2/wip/ape 411: dir /usr/home/bacon/Pkgsrc/pkgsrc-2/wip/ape/work/.gcc/bin/gcc lrwxr-x--- 1 bacon 1001 12 Aug 3 08:19 /usr/home/bacon/Pkgsrc/pkgsrc-2/wip/ape/work/.gcc/bin/gcc@ -> /usr/bin/gcc

Cheers,

    JB

On 07/31/14 20:57, OBATA Akio wrote:
On Fri, 01 Aug 2014 09:35:33 +0900, Jason Bacon <jwbacon%tds.net@localhost> 
wrote:

I have used it with external compilers on RHEL.  The only requirement is
that the same compiler is first in your PATH during bootstrap and
package building.

env CC=/path/to/your/cc ./bootstrap




Home | Main Index | Thread Index | Old Index