Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mentore

Pages: [1] 2 3 ... 11
1
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 11:45:51 am »
What error message do the compilers give you?

It's not a compiler error, instead it's configure complaining that the compiler found "can't produce executables". If I set the environment variables without double quotes everything works perfectly (I just finished libfftw-3.3.10).

But, if I don't use double quotes, I can't put -march or -mtune in a CMD file or a shell script.

Mentore

2
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 11:11:56 am »
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)

Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...

Hi,
If I'm not wrong most of it is already covered in some other places of these forums. Yet I must say I'm doing much research (in my almost zero spare time) to try and get up-and-running in as few steps as possible.

I'll try to gather and organize as much information as possible and try to contribute to what has already been written. Ad EDM/2 column would be really useful (provided it doesn't already exist!).

Mentore

Quoting myself because I came across an interesting problem.
If I try to set variables like CFLAGS like this

Code: [Select]
set CFLAGS=-O2 -g

configure and autoreconf work correctly. But I can't set options like -march or -mtune. If I try to set these in double quotes as in

Code: [Select]
set CFLAGS="-O2 -g -march=generic"

even after autoreconf, configure fails giving me troubles in gcc, gxx and cpp - even if I tweak the script.
How can I include -march / -mtune and similar options?
This happens also if I try to use export directive in a shell script...

Mentore

3
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 08:08:09 am »
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)

Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...

Hi,
If I'm not wrong most of it is already covered in some other places of these forums. Yet I must say I'm doing much research (in my almost zero spare time) to try and get up-and-running in as few steps as possible.

I'll try to gather and organize as much information as possible and try to contribute to what has already been written. Ad EDM/2 column would be really useful (provided it doesn't already exist!).

Mentore

4
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 09, 2024, 08:28:30 am »
If you can, use cmake. It makes life easier.

Cmake will be the next step. Many projects I'm woking on use configure (for example ngspice 4.2, mup and others) so I'm basically stuck on noticing many other developers are seeing the same behavior (like configure not finding gcc RIGHT AFTER FINDING IT...  8))


Are you rebuilding the configure script using the autoconf port? Try running "sh c:/usr/bin/autoreconf -sfy" adjust C: as needed, then run configure.
Autoreconf will also run the other autotools, especially libtool.

Thanks Dave, this I didn't know. Guess I have to dig deeper in build tools, even searching through forums didn't help a lot.

Mentore

5
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 08, 2024, 10:52:19 am »
If you can, use cmake. It makes life easier.

Cmake will be the next step. Many projects I'm woking on use configure (for example ngspice 4.2, mup and others) so I'm basically stuck on noticing many other developers are seeing the same behavior (like configure not finding gcc RIGHT AFTER FINDING IT...  8))

After playing with these gcc command line programs I want to work on some SDL and Qt ports, then try to get back on "real" OS/2 development like REXX GUI and C++ software. Wish me luck.

Mentore

6
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 05, 2024, 08:02:02 am »
A copy of my buildenv from April  last year is at https://drive.google.com/file/d/1VPR-z1EPTzrkYwrsvrRw3UOSQ_v7yZV_/view?usp=drive_link - nothing significant would have changed since then...

Wow Paul, thanks a lot for this pointer.
I've already started porting some rather simple applications like normalize, moving forward to SDL apps as soon as possible. I'm finding myself sometimes stuck in configure script troubles like trying to compile some C dummy code to check for gcc and failing, but I'm starting to understand these little quirks.

Mentore

7
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 03, 2024, 12:42:48 pm »
Quote
because I like to keep OS volume and application on separated units - albeit logically, or even better on separate drives,
SET UNIXROOT=x: where x: is your separate drive. It's that easy with BWWs rpm packages.

Stupid me didn't think about this.
Thanks a million!

Mentore
Of course you've to decide this when you install ArcaOS as a lot of things depend on the files there. I don't recommend moving it afterwards.

Too late  8) already made many modifications on my system. I'll fix broken things as I see them, but it's all working (for now).
Now I'm hitting my head trying to port mup from arkkra enterprise, it's gotten really complex since the last version I ported... Gonna let you know.

Mentore

8
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 03, 2024, 10:51:28 am »
Quote
because I like to keep OS volume and application on separated units - albeit logically, or even better on separate drives,
SET UNIXROOT=x: where x: is your separate drive. It's that easy with BWWs rpm packages.

Stupid me didn't think about this.
Thanks a million!

Mentore

9
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 03, 2024, 07:51:37 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.

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

10
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 02, 2024, 08:00:50 am »
Need at least some of this in your environment too,
Code: [Select]
SET SHELL=sh.exe
SET EMXSHELL=sh.exe
SET CONFIG_SHELL=sh.exe
SET MAKESHELL=sh.exe
SET EXECSHELL=sh.exe

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.

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

11
Marketplace / Re: Is anyone presently offloading any OS/2 software?
« on: March 29, 2024, 08:25:24 am »
I've been building my collection slowly. Have gotten HyperAccess v6 and v7, Describe, DB2. Warp v3 (I wonder what I ever did with my v3 that I got brand new in the 90s!) and v4. Internet Archive has a bunch of ISOs. Also books.. lots of books.

Same goes for me.
I'm about to finish a complete working installation full of production software, ranging from graphics applications to video editing, office software and much more.
Plus, yesterday I finished installing a GCC development suite and already started trying to port some unix software. It's a long road, but the WPS is such a beauty in the ugliness of my windows host.

Mentore

12
Setup & Installation / Re: Ecomstation 1.0
« on: March 27, 2024, 08:36:49 am »
Hello . I found this https://xxxxxxxxxxx

But it ask for a serial number by the end of instalation fase 1 . Without a key i cannot further.
Have somebody a working key?
The ecomstation 1.0 is now a old system . I cannot buy it anymore . The company does not exist.

Hello jacco,
as much as I'd like to help you, fact is eComStation is still an OS/2 version and, as such, protected by law.
Since IBM never stated it can be downloaded and installed freely, the best course of action is to avoid trying pirate installations.

Mentore

13
Programming / Re: REXX IDE recommendations?
« on: March 26, 2024, 08:19:44 am »
The newest REXX IDE is 30 years old.

VX-Rexx, VisProRexx

I don't know how to get VX-REXX.

http://hobbesarchive.com/?detail=/pub/os2/dev/proglang/rexx/VisProREXX_3-1-1.wpi

A complete REXX GUI environment is (was?) GPF Rexx. I bought it years ago and found it just a little difficult to learn, but once got the grip it was fairly powerful.
Also, DrDialog is a GUI REXX IDE pretty useful and easy to use.

FWR VX-REXX you may find useful options here:
https://ecsoft2.org/watcom-vx-rexx

Please consider browsing hobbesarchive instead of hobbes, since the latter is about to be discontinued.

Mentore

14
General Discussion / Re: Team OS/2
« on: March 01, 2024, 08:08:28 am »
Hi,

Just a quick question.  Does Team OS/2  (I guess as a concept or as an actual group) still exist?   I remember sometime ago "joining"  this group (my memory is very hazy on this) thanks to a local (then) fidonet sysop.

Thanks for any clarifications.

Ed

Sadly, all the Team OS/2 initiatives terminated long ago as far as I can remember.

Mentore

15
Setup & Installation / Re: DB2 v. 6.1 / Java
« on: February 23, 2024, 08:13:56 am »
Thanks, Ivan, but I just got Java 1.4.2 installed.
No success with db2cc.cmd;

/* JRE [options] CC "[-h {location of db2jd}] [db2jd port number]" */
'jre -mx128m -cp 'db2path'\cc;'db2path'\cc\db2cc.jar;'db2path'\java\swingall.jar;'db2path'\java\db2java.zip;'db2path'\cc\db2plug.zip CC -nojit "6790 %1"'

I've replaced "jre" in the above cmd with "java" and get some "NullPointerError"
Wonder if I have to try with an even older java version, like 1.1.8?

Thoughts are welcome.

Well that may even be. Java 118 and 142 are pretty much different in many aspects. Depending on the release date it may be the only way to go.

Mentore

Pages: [1] 2 3 ... 11