OS/2, eCS & ArcaOS - Technical > Programming

ArcaOS - Recreate a complete build environment?

<< < (2/7) > >>

Andi B.:
Just for completeness in this valuable thread, we also need -

yum install binutils

and probably
yum install os2tk45

Alex Taylor:

--- Quote from: Dave Yeo on February 05, 2024, 04:52:26 pm ---Need at least some of this in your environment too,

--- Code: ---SET SHELL=sh.exe
SET EMXSHELL=sh.exe
SET CONFIG_SHELL=sh.exe
SET MAKESHELL=sh.exe
SET EXECSHELL=sh.exe

--- End code ---

--- End quote ---

Be very careful with SET EMXSHELL -- in my experience, having this defined will cause many programs built with the old EMX+GCC to break horribly. I never set this (and make sure to remove it if any RPM adds it), and I've never needed it to build modern gcc stuff.

Mentore:

--- Quote from: Alex Taylor on April 01, 2024, 01:52:56 pm ---
--- Quote from: Dave Yeo on February 05, 2024, 04:52:26 pm ---Need at least some of this in your environment too,

--- Code: ---SET SHELL=sh.exe
SET EMXSHELL=sh.exe
SET CONFIG_SHELL=sh.exe
SET MAKESHELL=sh.exe
SET EXECSHELL=sh.exe

--- End code ---

--- End quote ---

Be very careful with SET EMXSHELL -- in my experience, having this defined will cause many programs built with the old EMX+GCC to break horribly. I never set this (and make sure to remove it if any RPM adds it), and I've never needed it to build modern gcc stuff.

--- End quote ---

Thanks Alex. Didn't have the time to correctly test the environment (just some projects already too complex to be easily configure/make'd).
Thanks also Andi, binutils is one of many mandatory packages.
Guess I'll need to set my C:\ virtual drive more than 2 GB space...

Mentore

Jochen Schäfer:
I have adapted Paul's environment script to my needs, and run it from an copied shell object by calling the script via parameter. This confines the scope of the environment values and everything apart from development remains untouched.

Also, I have cmake installed, since many projects use that and we have good support for it.

Mentore:

--- Quote from: Jochen Schäfer on April 02, 2024, 10:41:23 am ---I have adapted Paul's environment script to my needs, and run it from an copied shell object by calling the script via parameter. This confines the scope of the environment values and everything apart from development remains untouched.

Also, I have cmake installed, since many projects use that and we have good support for it.

--- End quote ---

Hi Jochen,
this was my first intention since my old OS/2 machine was already perfectly set up for the job (but currently I can't use it). Sadly, I seem unable to access Paul's build environment anymore - every link I tried was broken.

I'd have preferred his way simply because I like to keep OS volume and application on separated units - albeit logically, or even better on separate drives, in order to keep the OS volume clean and hosting only the system (as much as possible).
Should you have some link for Paul's B.E. may you put it here? TIA.

Mentore

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version