No. You can’t directly link to 32bit code inside of a 64bit program.
The best option is to compile a 32bit (standalone) program that can run on your 64bit platform (using ia32), and then use a form of inter-process communication to communicate to it from your 64bit program.
More Related Contents:
- How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake
- How do I compile and link a 32-bit Windows executable using mingw-w64
- What is better “int 0x80” or “syscall” in 32-bit code on Linux?
- How to determine whether a given Linux is 32 bit or 64 bit?
- Force gcc to compile 32 bit programs on 64 bit platform
- What are the pros and cons of running IIS as 32bit vs 64bit on a 64bit OS?
- Android SDK on a 64-bit linux machine
- Memory limit to a 32-bit process running on a 64-bit Linux OS
- Size of pid_t, uid_t, gid_t on Linux
- /usr/bin/ld: skipping incompatible foo.so when searching for foo
- Write system call won’t print characters from a register
- Is there a way to change the environment variables of another process in Unix?
- What happens to an open file handle on Linux if the pointed file gets moved or deleted
- How to invoke a system call via syscall or sysenter in inline assembly?
- Retaining file permissions with Git
- Shell script: Run function from script over ssh
- How to build & install GLFW 3 and use it in a Linux project
- How do I exclude a directory when using `find`?
- Automating telnet session using bash scripts
- How to access the system call from user-space?
- How do YOU manage Perl modules when using a package manager?
- Why Linux/gnu linker chose address 0x400000?
- How to access(if possible) kernel space from user space?
- Extract lines between two patterns from a file [duplicate]
- Forking vs Threading
- How do applications resolve to different versions of shared libraries at run time?
- What is PATH on a Mac (UNIX) system?
- Bash `wait` command, waiting for more than 1 PID to finish execution
- Linux x64: why does r10 come before r8 and r9 in syscalls?
- How can I get position of cursor in terminal?