|
|
Premium member in staff
       posts: 2298 since: 12 Jan, 2001
 |
 |
1. OpenWatcom and OS/2? |
|
|
Has anyone used the release of OpenWatcom ( http://www.openwatcom.org ) with OS/2? (good, bad, indifferent?)
OS/2 Warp-ed to the very end.
|
| Date: 28 Jan, 2003 on 14:27 |
|
|
Normal member in user
       posts: 21 since: 10 Jun, 2001 |
 |
2. Re:OpenWatcom and OS/2? |
|
|
| I've installed Open Watcom, but I can't get the program with the sample ide project to compile. It gives errors about unresolved externals. I checked Watcom's directories, and it has all the OS/2 specific header files, and the include directive appears to be set properly in config.sys. Even though OpenWatcom comes with its own set of OS/2 headers, do I still need the OS/2 Developers Kit from IBM in order to compile OS/2 (Presentation Manager) programs? JasonL |
| Date: 04 Feb, 2003 on 16:18 |
|
|
Premium member in staff
       posts: 2298 since: 12 Jan, 2001
 |
 |
3. Re:OpenWatcom and OS/2? |
|
|
It might help. Not being a programmer but one who is trying to learn, I do not know. You might need the ddk2 files (I think they are at either http://www.netlabs.org or at http://hobbes.nmsu.edu [I will check around]).
OS/2 Warp-ed to the very end.
|
| Date: 04 Feb, 2003 on 16:24 |
|
|
Premium member in user
       posts: 145 since: 20 Jan, 2003 |
|
4. Re:OpenWatcom and OS/2? |
|
|
JasonL (Feb 04, 2003 17:1 : I've installed Open Watcom, but I can't get the program with the sample ide project to compile. It gives errors about unresolved externals.I checked Watcom's directories, and it has all the OS/2 specific header files, and the include directive appears to be set properly in config.sys. Even though OpenWatcom comes with its own set of OS/2 headers, do I still need the OS/2 Developers Kit from IBM in order to compile OS/2 (Presentation Manager) programs?
Unfortunately, yes. The OS/2 headers in Watcom, are only a subset. They are enough to be able to build Watcom itself. I think the developers extending them, but, on a "tell us what's missing" basis. I believe that the OS/2 Toolkit is on one of the MCP CDs. And it's probably included in eCS.
David
|
| Date: 05 Feb, 2003 on 01:05 |
|
|
Normal member in user
     posts: 1 since: 09 Feb, 2003 |
 |
5. Re:OpenWatcom and OS/2? |
|
|
tomleem (Jan 28, 2003 15:27): Has anyone used the release of OpenWatcom ( http://www.openwatcom.org ) with OS/2? (good, bad, indifferent?)
I just download OpenWatcom 1.0 for OS/2. I used Watcom 10.5, 10.6, and 11.0 since '95 and loved it. I was developing character mode applications and communications routines for smart card readers in Win32, OS/2, and Extended DOS. The project included using Zinc portable GUI routines, but I did almost no work on that side of things. I loved the compiler, and it generated some lightning fast code. I have been working strictly in Java for a couple of years, but just came back to another multi-platform OS/2, Win32 project. I'm currently running 11.0, but will move over this week to Open Watcom. Watcom 11.0 was the best by far of the compilers I have used on OS/2, I just hope that OpenWatcom includes everything that was in 11.0. |
| Date: 09 Feb, 2003 on 04:30 |
|
|
Premium member in staff
       posts: 2298 since: 12 Jan, 2001
 |
 |
6. Re:OpenWatcom and OS/2? |
|
|
I saw news that Open Watcom has been updated. The link I saw lead to a whole bunch of zip files (hopefully there is one zip file with all the files instead of separate ones).  http://www.openwatcom.com
OS/2 Warp-ed to the very end.
|
| Date: 16 Apr, 2003 on 14:40 |
|
|
Premium member in user
       posts: 71 since: 13 Nov, 2002 |
|
7. Re:OpenWatcom and OS/2? |
|
|
last updated at 25 Apr, 2003 21:59 (2 times) In an effort to support those who are still supporting OS/2 and eCS I purchased the CD version of OpenWatcom. It arrived yesterday and I have not had a chance to install it on my eCS machine. It seems to work find on my Win2K work machine.As for OpenWatcom itself, I have been using it under eCS and Win2k and find it to be a very nice compiler (granted I do not have much programming experience). I am glad that it is still being developed and look forward to the day that the IDE is as powerful as that of the Borland C++ program (Borland does not compile for eCS or OS/2). Shadallark Oops; forgot to mention that I got the IBM Software Development Toolkit off of the eCS CDs. |
| Date: 25 Apr, 2003 on 21:56 |
|
|
Premium member in staff
       posts: 2298 since: 12 Jan, 2001
 |
 |
8. Re:OpenWatcom and OS/2? |
|
|
I did not know they had a cd for the Open Watcom software. I will look into it. Thanks for the information.
OS/2 Warp-ed to the very end.
|
| Date: 30 Apr, 2003 on 16:24 |
|
|
Normal member in user
       posts: 4 since: 26 Feb, 2003 |
|
9. Re:OpenWatcom and OS/2? |
|
|
Hi, I had the same problem. I asked about it on mIRC, and got someone to send me a "manual" makefile, said to be working. Now it compiled, but the program did not run.Then 2 days ago, I finally got the "fix" in news.openwatcom!!! You need to turn off/on caseinsensitive linking... I did, and the kitchen demo runs like a charm...Actually it runs faster under eCS than under win32... regards Jan Magne
JasonL (Feb 04, 2003 17:1 : I've installed Open Watcom, but I can't get the program with the sample ide project to compile. It gives errors about unresolved externals.I checked Watcom's directories, and it has all the OS/2 specific header files, and the include directive appears to be set properly in config.sys. Even though OpenWatcom comes with its own set of OS/2 headers, do I still need the OS/2 Developers Kit from IBM in order to compile OS/2 (Presentation Manager) programs? JasonL
|
| Date: 02 May, 2003 on 15:35 |
|
|
Premium member in staff
       posts: 2298 since: 12 Jan, 2001
 |
|
10. Re:OpenWatcom and OS/2? |
|
|
I ordered and received the cd-rom from Scitech Software with the Open Watcom files on it. When I ordered it, there was a chance to donate to the efforts of Open Watcom. I received the cd-rom but my OS/2 Warp ver 4 (with fixpak 15 and RSJ software) could not see it (in the regular cd-rom drive). I will try the cdrw drive next. Did anyone have trouble with it? Is this just a faulty disc?
BigWarpGuy - - - - - - - - - - - - - - - - - - OS/2 Warp-ed to the very end. - - - - - - - - - - - - - - - - -
|
| Date: 11 Aug, 2003 on 01:46 |
|
|
Premium member in user
     posts: 121 since: 17 Jul, 2003 |
 |
11. Re:OpenWatcom and OS/2? |
|
|
| I consider Watcom the best C++ compiler for OS/2. I have got both Open Watcom and IBM Toolkit as a part of eCS 1.1. Comparing Open Watcom 1.0 with Watcom 10.5a, which I have used so far, I have found that: a) Open Watcom IS an extension of Watcom 10.5a. Among others, it contains built in 'bool' type, built in 'long long' type (64 bit integers), support for RTTI, and suppor for "new C++ features" (namespace, dynamic_cast, static_cast, etc.) b) Templates: not better than in 10.5a c) Help files: you get only a part of needed help files. For example, you don't get CP reference, PM reference(!) and so on. Nevertheless, all these help files are a part of the toolkit. d) The toolkit. The value of the toolkit seems to consist in the help files and ALP, which is better than WASM. Otherwise, the Open Watcom headers and import libraries already seem to contain almost everything what is in the toolkit. |
| Date: 13 Aug, 2003 on 12:24 |
|
|
Premium member in user
       posts: 71 since: 13 Nov, 2002 |
|
12. Re:OpenWatcom and OS/2? |
|
|
Radek (13 Aug, 2003 13:24): I consider Watcom the best C++ compiler for OS/2. I have got both Open Watcom and IBM Toolkit as a part of eCS 1.1.
I have OpenWatcom 1.1 and the IBM Toolkit from eCS 1.0 and I find it to be a great compiler. I have only tried two others though, an early gcc and VisualAge C++ v3 and I have to admit that I like OpenWatcom the best. Oh yeah I am also using the STLport 4.5.3 (not the iostreams as I cannot get them to compile). Comparing Open Watcom 1.0 with Watcom 10.5a, which I have used so far, I have found that:a) Open Watcom IS an extension of Watcom 10.5a. Among others, it contains built in 'bool' type, built in 'long long' type (64 bit integers), support for RTTI, and suppor for "new C++ features" (namespace, dynamic_cast, static_cast, etc.)
How do you get it to accept namespace? This is one problem that I have not been able to get around. b) Templates: not better than in 10.5a c) Help files: you get only a part of needed help files. For example, you don't get CP reference, PM reference(!) and so on. Nevertheless, all these help files are a part of the toolkit.
You can also get them from: http://www.openwatcom.org/support/reference_content.html d) The toolkit. The value of the toolkit seems to consist in the help files and ALP, which is better than WASM. Otherwise, the Open Watcom headers and import libraries already seem to contain almost everything what is in the toolkit.
It is good to hear others are having success with OpenWatcom. Terry Norton is using it for his course on learning to program for OS/2 and eCS. Shadallark
Shadallark running eCS v1.03 on an IBM Aptiva assiting in the porting of OpenOffice.org to eCS
|
| Date: 01 Oct, 2003 on 19:56 |
|
|
Premium member in user
     posts: 121 since: 17 Jul, 2003 |
 |
13. Re:OpenWatcom and OS/2? |
|
|
| I have checked the namespaces. Results: 1. The 'namespace' and 'using' keywords are working correctly. But... 2. The 'std' namespace does not exist. Inserting 'using namespace std' into your program will cause compile error - unless you create the 'std' namespace yourself. All C++ headers are old fashioned, iostreams and other C++ objects aren't in any namespace. It should be possible to fix the problem: 1. Extract all object files with C++ objects from the standard library and disasemble them. 2. Add namespace name mangled public symbols to the existing 'no namespace' public symbols. Reassemble and rebuild the libraries. 3. Derive new C++ headers from the existing ones by adding 'namespace std { contents of the original header }' Well, I don't think it's we who should do such things. The Open Watcom people should take care of it  |
| Date: 03 Oct, 2003 on 10:27 |
|
|
Premium member in user
     posts: 135 since: 21 Mar, 2003 |
|
14. Re:OpenWatcom and OS/2? |
|
|
Radek (03 Oct, 2003 11:27):Well, I don't think it's we who should do such things. The Open Watcom people should take care of it 
In an open source project this is not necessarily true. If you want something added that is not currently in there then it is always possible to jump in and add it. Andy |
| Date: 04 Oct, 2003 on 17:54 |
|
|
Normal member in user
     posts: 4 since: 17 Jul, 2002 |
|
15. Re:OpenWatcom and OS/2? |
|
|
JasonL (Feb 04, 2003 17:1 : I've installed Open Watcom, but I can't get the program with the sample ide project to compile. It gives errors about unresolved externals.
You can try the following. In the installation directory of OpenWatcom you can find a cmd file 'setvars.cmd'. Start this cmd file. Now try to compile your program from the commandline with the following command wcl386 yourprogram.c or wcl386 yourprogram.cppBest regards, John Bijnens |
| Date: 04 Oct, 2003 on 23:02 |
|
|
|
|
| All times are CET+1. |
< Prev. | P. 1 | Next > |
|