OS/2, eCS & ArcaOS - Technical > Programming

GCC - updates

<< < (21/26) > >>

TeLLie:
Hi Paul,

This versions works very well.
Also the -jx  works ok

Greetz Tellie

Jochen Schäfer:
Just a question: What are we doing to produce OS/2 binaries?
Do we call emxomf, wlink etc. to convert the binaries?

Dave Yeo:

--- Quote from: Jochen Schäfer on April 28, 2025, 02:44:56 pm ---Just a question: What are we doing to produce OS/2 binaries?
Do we call emxomf, wlink etc. to convert the binaries?

--- End quote ---

Set up your environment and then the usual gcc flags work.
My gcc1510env.cmd is attached, adjust if needed. Put it on your PATH, execute in a cmd session, check by running gcc-v, then use as older GCC's

Paul Smedley:
Expanding on Dave's comments, I tend to compile in a.out (the default) but then link with -Zomf which makes the compiler invoke emxomfld which uses emxomf and wlink to make the executables or DLLs.

This code is all basically evolved from the earlier gcc 3.x builds.

Jochen Schäfer:
Hi Paul.

Thanks for the answer. So for a cross compiler setup, we would need a port of these emx tools. The OpenWatcom stuff is already there.
Am I correct? (I know, it's certainly not that easy to do)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version