Skip to main content

Timeline for Runtime library search order on AIX

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Oct 24, 2023 at 15:25 comment added Lorinczy Zsigmond Indeed, the Gnu linker is not compatible with Aix-linker.
Oct 24, 2023 at 12:50 comment added ibse @LorinczyZsigmond powerpc-ibm-aix7.1.0.0-gcc -Wl,-bipath /tmp/libgcc_s.a main.c /opt/crossaix/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/../../../../powerpc-ibm-aix7.1.0.0/bin/ld: target ipath not found collect2: error: ld returned 1 exit status
Oct 24, 2023 at 12:35 comment added Lorinczy Zsigmond It is -Wl,-bipath when ld is invoked from gcc
Oct 24, 2023 at 10:59 comment added ibse @LorinczyZsigmond ./powerpc-ibm-aix7.1.0.0-gcc --version powerpc-ibm-aix7.1.0.0-gcc (GCC) 4.8.3 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Oct 24, 2023 at 10:58 comment added ibse @LorinczyZsigmond thank, it works, but only when the compilation takes place directly on the AIX computer. When I try to cross-compile the code (from linux to AIX), it turns out that cross-compiler does not have the -bipath flag
Oct 15, 2023 at 5:54 comment added Lorinczy Zsigmond I don't know about "priorities", but with option -bipath you can store the full path of the shared object. Details here: lzsiga.users.sourceforge.net/aix-linking.html
Oct 13, 2023 at 11:28 history asked ibse CC BY-SA 4.0