Hi/2.
Here is the cross compiler for OS/2 on x86_64 Linux.
This consists of the three parts.
1. binutils v2.33.1
2. LIBCn v0.1.14
3. gcc/g++ v9.2.0
This provides the following:
1. binutils + emxexp, emximp, emxbind and OS/2 ld.
2. static libgcc.a
3. ability to build .EXEs and .DLLs with the ld linker which supports a.out object files only
This does *NOT* provide the following:
1. emxomf* family
2. shared libgcc_so_d.a(Currently, this is the symbolic link to libgcc.a)
3. ability to build .EXEs and .DLLs with the OMF linkers which supports OMF object files
How to use:
1. Download the following file:
https://www.os2.kr/komh/testcase/os2emx-cross-toolchain-test.tar.xz2. Extract files from it with `tar xvJf ' to some dir
3. Files are in some_dir/opt/os2emx/
4. Prepend some_dir/opt/os2emx/bin to your $PATH like:
export PATH=/path/to/your/opt/os2emx:$PATH
5. Now, you can cross-compile C/C++ sources with i686-pc-os2-emx-gcc/g++
Report your experiences, please...
Thanks!
KO Myung-Hun