[cfarm-users] New user - experimenting with AIX builds

Freya Starshade saoirse at axiom-networks.org
Mon Oct 28 23:43:59 CET 2024


ok, that should work. We're going to at least try to get a more recent 
gcc on 111, will be in /opt/cfarm/lhvn/packages/LHVNgnuCC1030 if we can 
get that version to build

On 10/28/2024 15:41, Bruno Haible via cfarm-users wrote:
> Paul H. Hargrove wrote:
>> It has been a long time since I've attempted to support my software on AIX.
>> However, my old notes mention OBJECT_MODE and COMPILE_BITS as environment
>> variables which influence the IBM toolchain.
>> IIRC, their use could/should eliminate the need for `-q64` and `-X 64`
>> arguments in the 64-bit cases listed by Bruno.
>>
>> See, for instance,
>> https://www.ibm.com/docs/en/xl-fortran-aix/16.1.0?topic=environment-default-bit-mode
> OBJECT_MODE works fine for xlc.
>
> But it does not work with gcc:
>
>    $ OBJECT_MODE=64 gcc hello.c
>    Assembler:
>    /tmp//ccK4WLFO.s: line 8: 1252-191 Only .llong should be used for relocatable expressions.
>    /tmp//ccK4WLFO.s: line 56: 1252-191 Only .llong should be used for relocatable expressions.
>    $ echo $?
>    1
>
> Bruno
>
>
>
> _______________________________________________
> cfarm-users mailing list
> cfarm-users at lists.tetaneutral.net
> https://lists.tetaneutral.net/listinfo/cfarm-users


More information about the cfarm-users mailing list