I am compiling using CFLAGS=-m32 LDFLAGS=-m32 make
but when I run
WINEARCH=win32 WINEPREFIX=/home/$USER/.wine32 LD_PRELOAD=/home/user/git/libfaketime/src/libfaketime.so.1 wine cmd.exe
I get
ERROR: ld.so: object '/home/user/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
note: if I compile with no flags I get
ERROR: ld.so: object '/home/fabio/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
If I compile with -DMULTI_ARCH in CFLAGS and LDFLAGS I still get
ERROR: ld.so: object '/home/fabio/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
I am compiling using CFLAGS=-m32 LDFLAGS=-m32 make but when I run WINEARCH=win32 WINEPREFIX=/home/$USER/.wine32 LD_PRELOAD=/home/user/git/libfaketime/src/libfaketime.so.1 wine cmd.exe I get ERROR: ld.so: object '/home/user/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
note: if I compile with no flags I get ERROR: ld.so: object '/home/fabio/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
If I compile with -DMULTI_ARCH in CFLAGS and LDFLAGS I still get ERROR: ld.so: object '/home/fabio/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
distro: manjaro