[cfarm-users] What are the dev tools path(s) on cfarm119?
Jonathan Wakely
jwakely.gcc at gmail.com
Tue May 26 11:57:31 CEST 2026
On Sun, 24 May 2026 at 19:58, Tom Lane via cfarm-users
<cfarm-users at lists.tetaneutral.net> wrote:
>
> Peter Gutmann via cfarm-users <cfarm-users at lists.tetaneutral.net> writes:
> > I've been trying to build my code on cfarm119 but neither cc, xlc, gcc, or
> > clang are in the default path.
>
> gcc (several versions) and a bunch of other standard FOSS tools are
> in /opt/freeware/bin. I've successfully built Postgres on cfarm119
> using
>
> PATH=$HOME/bin:/opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin
Yes, adjusting your PATH is the first point noted at
https://gcc.gnu.org/wiki/CompileFarm for building GCC on AIX:
To build trunk on powerpc-ibm-aix (AIX):
- PATH=/opt/freeware/bin:$PATH
- .../src/configure --disable-werror --enable-languages=c,c++
--with-gmp=/opt/cfarm --with-lbiconv-prefix=/opt/cfarm
--disable-libstdcxx-pch
- make SHELL=/bin/bash CONFIG_SHELL=/bin/bash
>
> and not a lot of special config. I can't say about xlc --- we gave
> up supporting that recently, so I've not tried that on that machine.
>
> Be aware that cfarm119's filesystem is ridiculously slow [1].
I think the /scratch disk is faster, but not guaranteed to be
persistent across reboots. I did:
mkdir /scratch/$USER
ln -s /scratch/$USER ~/scratch
More information about the cfarm-users
mailing list