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 - Bogdan

Pages: 1 2 [3] 4 5 ... 7
31
Programming / Re: Compiling my first WPS application
« on: December 29, 2018, 07:07:16 am »
1) VAC  = "Visual Age for C++"
Most people would think about voltage analogue current. But perhaps the dictionaries in Germany have different entries.

Quote
2) no, the list is now wrong. There was a version 3.0 , 3.6.5 and 4.0 for OS/2 and Martin's list was correct. Version 3.0 did not support 64-bit data types, Version 3.6.5 did and Version 4.0 has a completely different IDE (also getting rid of using conventional makefiles). These are completely different products.
Sorry, you're speaking about versions and the original question was for releases. The mentioned "3.6.5 and 4.0 for OS/2" are in fact combined into only one product. So it seems you're making claims without any proof. Hopefully not all Germans have this ignorant behaviour. I provided the list on my own here without the help from any German or Russian ghost writer. To make it German over-engineered you can simply duplicate one line to deal with your version aspect. It's not good tradition to make me guilty by association or to invent new conspiracy theories.

Człowiek nie wybiera.

32
Programming / Re: Compiling my first WPS application
« on: December 28, 2018, 04:04:53 am »
I know that " IBM C and C++ Compilers, Version 3.6.5" is called  VAC 3.6.5, but I never understood why.
For confusion.

Quote
Please correct me if I'm wrong, the order of releases should be:
- IBM C Set/2 1.0
- IBM C Set++ for OS/2 2.0
- IBM VisualAge C++ 3.0
- IBM C and C++ Compilers, Version 3.6.5
- IBM VisualAge C++ Professional 4.0 - which I had been told it is buggy and it is not recommend to use it, right?
Now the order of the list should be correct. It seems, the "buggy" came from people that didn't use it all.

A simplified list of IBM's workstation C++ compiler by released products:
Code: [Select]
V1

   5765-035 - IBM XL C ++ Compiler/6000 V1 (Jun 1992), V1.1.1 (Nov 1992)

V2

    5604-464 - IBM C Set++ V2.0 (Jun 1993)
    5604-465 - IBM C Set++ V2.0 CD-ROM
    5604-466 - IBM C/C++ Tools V2
    5765-186 - IBM C Set ++ for AIX/6000 Version 2 (Dec 1993)
    5604-534 - IBM C Set ++ FirstStep V2.1 / IBM C/C++ FirstStep Tools V2.01 (Dec 1993)
    5604-535 - IBM C Set++ V2.1 / IBM C/C++ Tools V2.01

V3

    5765-421 - C Set ++ for AIX V3.0 (Oct 1994), C Set++ for AIX Version 3.1.4
    5765-448 - C Set ++ for Solaris, V1 (Mar 1995)
    5622-679 - IBM VisualAge C++ for OS/2 V3.0 (Jun 1995), German Version (Apr 1996)
    5622-880 - IBM VisualAge C++ for Windows Version 3.5 (Mar 1996)
    5648-A81 - C and C++ Compilers for OS/2, AIX and Windows NT Version 3.6 (Dec 1997 - Dec 1998)

V4

    5765-D52 - IBM VisualAge C++ Professional for AIX, Version 4.0 (Jul 1998 - Apr 2001)
    5639-F24 - IBM VisualAge C++ Professional for OS/2 and Windows NT, Version 4.0 (Dec 1998 - Jun 2002)

V5

    5765-E26 - VisualAge C++ Professional for AIX, V5.0 (Mar 2000 - Dec 2003)

V6

    5765-F56 - IBM VisualAge C++ Professional for AIX V6.0 (Jul 2002 - Mar 2006)
    5765-F56 - IBM VisualAge C++ V6.0 for Linux (Mar 2003)

33
Events / Re: Do not forget: Spock (Leonard Nimoy) introduced OS/2 Warp
« on: December 25, 2018, 06:05:29 am »
But I think Wednesday, the 12th of October 1994 is a good guess.
There's no reason for guessing. If you don't trust in IBM's information a second source could be NYT (https://www.nytimes.com/1994/10/12/business/ibm-displays-its-os-2-warp.html). All Warp products were announced by Tuesday in the US - זייער פּשוט.

34
Events / Re: Do not forget: Spock (leonard Nimoy) introduced OS/2 Warp
« on: December 22, 2018, 05:39:59 pm »
A part of the Presentation from IBM:

https://www.youtube.com/watch?v=InIA695FEp4
The mentioned date seems to be unhistorical. Perhaps some kind of time travel. In January 1994 OS/2 2.1 for Windows was quite new and Warp was not announced until October 1994. The description could become true in October 2019.

35
Applications / Re: ODBC v 3 - SQLConnectW() - DB2 CLI
« on: December 18, 2018, 03:21:23 pm »
The DB2 v 7 ODBC driver is at version 3.52, which supports Unicode. The ODBC driver manager shipped with Lotus Smartsuite is version 3 - which was before Unicode was supported.
Which DB2 Client Runtime is installed on the workstation exactly?

Quote
When I attempt to connect to DB2 using a DB2 v 7 ODBC driver with a version 3 ODBC Driver Manager I crash.
Doesn't DB2 OS/2 CAE come with it's own ODBC driver manager?

Quote
It also appears from IBM documentation that the DB2's  defaults to the wide/unicode versions unless, somehow, restricted to ANSI functions. For example there is a db2cli.ini keyword DisableUnicode=1 listed in the version 11 documentation which I cannot find in the version 7 documentation.

Does anyone know how to restrict to ANSI only for DB2 v 7?
Do you mean the GRAPHIC keyword?

36
Applications / Re: Creating archive > 4GiB from script
« on: December 16, 2018, 05:21:51 pm »
This may be a bit off-topic in this thread, but why use compression tools for backup purposes?
There seems to be a bit of confusion between archiving and compressing, Neither the original PKZip nor Info-ZIP's Zip are compression tools but archivers. Tar is a tape archiver with block operation. The standard compression tools under OS/2 are PACK and PACK2, or under UNIX you have compress and pack and much more incompatible, mostly non-portable tools.

Quote
Disk space is fairly cheap nowadays. Rsync and Keith's Easy Synch are imho far better tools for that, not in the least because they can do differential/incremental backups, it's easily possible to restore individual files etc. Are network copying times an issue?
That's only data duplication or synchronisation. And how fast you can restore from those "backups"?

37
Applications / Re: Creating archive > 4GiB from script
« on: December 15, 2018, 04:42:12 am »
As I said, it's a two step process, tar which basically concats the files together with a table of contents,
I don't know what's the reason of this misconception. No known tar implementation works in this way.

Quote
then compress the tarball. The old unix way is to pipe the commands, the new unix way is to use tar with a filtering option. tar --help | less for details.
Of course it's possible to use tar under UNIX. But it's not a tool for backup or restore. To label pipes old-stylish sounds strange. Btw. the given command will not work with any (standard) UNIX implementation. A simple "man tar" should be done, to read at least the section "Limitations" and to check its convenience for the desired process.

For backups usable in recovery situations there should be dump, cpio and pax. Unfortunately OS/2 is not UNIX and additional restrictions can occur.

38
Programming / Re: Compiling my first WPS application
« on: December 14, 2018, 01:47:55 am »
Dave is fast and right. Nothing much to add.

A second source: https://sourceforge.net/projects/emx/rss?path=/emx/0.9d-fix04 (official)

And emxdoc can not only generate IPF but also HTML.

39
Programming / Re: Compiling my first WPS application
« on: December 13, 2018, 08:09:28 pm »
Yes, SOM is language neutral. But the generated C++ bindings are not. Or the C bindings. Or the Pascal bindings. Or the Fortran bindings.
You seem to use a different version of IBM's SOMobjects. I cannot find any emitters for Pascal or Fortran. Of course you can write your emitters using the efw. Or you have to install first a third party product that offers those features. I only know of IBM's COBOL, PL/I and Smalltalk offerings that included the required support.

Idę na kolację...

40
Programming / Re: Compiling my first WPS application
« on: December 13, 2018, 04:47:42 pm »
You cannot. The file headers contain the "class" C++ keyword. A C-compiler has no clue how to handle that and what it means.
Sorry, but SOM is language neutral. A C preprocessor or C compiler wouldn't use the extended headers. And there's of course no reason.

Depending on the used environment, where you can choose between the old star or CORBA, the SOM compiler
sc -sh;ih;c *.idl
produces the files that can be used with C compilation systems.

41
Programming / Re: Compiling my first WPS application
« on: December 13, 2018, 03:23:55 am »
Chapter 3 of the manual "Using the GNU Compiler Collection" should be mentioned regarding the file name assumptions. At least to know how it will be handled by the preprocessor and passed to the batch C compiler (cc1) or C++ compiler (cc1plus). Additionally the configuration of the gcc driver (or does FSF call it an interactive frontend?) should be checked.

Is there some OS/2 specific documentation besides emxdev.doc? So I would recommend to use this textfile that covers all build related tasks.

42
Programming / Re: Compiling my first WPS application
« on: December 11, 2018, 08:04:33 pm »
...but the the "ifdef $(DEBUG)" just get ignored.
I don't know how old or outdated the used GNU Make version really is. But I would recommend to read at least "Chapter 6: How to Use Variables" and "Chapter 7: Conditional Parts of Makefiles" form the GNU Make manual. ifdef only tests whether a variable has a value.

43
Programming / Re: Compiling my first WPS application
« on: December 10, 2018, 04:12:10 pm »
The question is, what are those options being passed to icc.exe?
Nothing special. Please look inside "VisualAge C++ Programming Guide" (should be also available in PostScript or INF) sections "Additonal VisualAge C++ Predefined Macros" and "Code Generation Options".

Quote
I can't find anything listing them looking quickly in my VACPP 3.08 install, which is installed in eCS rather then the AOS I'm using.
I don't know the drive letter of your install:
VIEW \IBMCPP\HELP\CPPPROG.INF

alternatywa PDF: http://publib.boulder.ibm.com/pubs/pdfs/as400/V3R7PDF/cpprog00.pdf

44
Programming / Re: Compiling my first WPS application
« on: December 10, 2018, 03:55:05 pm »
Bullshit.
Hej, legendary German politeness (der neu deutsche hoflichkeit) - pasuje.

Quote
It IS C++ Code. You cannot just rename the files.
You have no clue.
Usually the C++ Language System can handle this task. You're right it's not necessary at all, a simple filter should help to avoid file name issues.

45
Programming / Re: Compiling my first WPS application
« on: December 10, 2018, 03:34:08 pm »
The variable DEBUG needs a value.

It would be easier to add a target for this operation to the Makefile.

For example:
Code: [Select]
# GCC Debugging
gcc-deb:
  $(MAKE) -f makefile target \
  CC="gcc -g ..." \
  CFLAGS="-DOS2 -Wall ..." \
  NFLAGS="" \
  DLLFLAG="" \
  AS="gcc -g" \
  ASFLAGS="-Di386" \
  LDFLAGS="-o ./" \
  OUT="-o" \
  ...


Pages: 1 2 [3] 4 5 ... 7