Operating System - HP-UX
1830939 Members
2518 Online
110017 Solutions
New Discussion

Microsoft C++ and aC++ development

 
lyonel chalant_2
New Member

Microsoft C++ and aC++ development

I am not a C++ developer myself, so my questions and comments may be way off beat.

However, my developers are developing an application using Microsoft Visual C++ then re-compiling it on HP-UX using aC++. However they are having the following problems. Can someone please guide me in the right direction:

When running the app under Windows NT, it comes up with a command window - the app is multi-threaded. When it bombs out, the reason etc displays to the screen in which it was run from.

1. When re-compiling the app on HP-UX and running it there, I need to know how I can monitor the TID's (threads).

2. The app's command window does not come up. I have tried 'nohup app_name &', and in that case it sends the output to nohup.out but one cannot interact with it. On NT it recognises certain input commands etc.

3. When the app bombs out no error displays can be seen/found, not even in nohup.out.
2 REPLIES 2
Alex Glennie
Honored Contributor

Re: Microsoft C++ and aC++ development

I'd take a look at using to wdb to help :

HP WDB is an HP-supported version of the
industry-standard GDB debugger. Version 0.75 was first released
in November 1997 coincident with the 11.0 OS release.
Version 0.75 supported source-level debugging of C, aC++ and
assembly programs.

HP WDB 1.0 replaces the XDB debugger, which was no longer bundled
with the compilers at the 11.0 release.

| HP WDB 1.0 will support FORTRAN 77, Fortran 90.

HP WDB 1.0 provides the following features:

Support for debugging 32-bit and 64-bit programs.
Support for a Terminal User Interface (TUI) in addition to the GDB
line-mode interface, enabled with the -tui option
Support for automatic loading of debug information from object modules
when an application is compiled with the +objdebug option.
Support for debugging code in shared libraries and archive libraries
Support for kernel threads (HP-UX 11.0 only), including thread local
storage
Support for hardware watchpoints (HP-UX 11.0 only)
Support for assembly-level debugging (PA-RISC 1.x and PA-RISC 2.0)
Support for a subset of XDB commands, enabled with the -xdb option

Version 1.1 is the next revision of the HP WDB debugger. The
following new features are planned:

o Based on GDB 4.17
o HP GUI available

| This release 1.1.01 is identical to 1.1 with very minor exceptions
| within the WDB backend.

| o WDB 1.1.01 is available on HP-UX 11.x; WDB 1.1 is not.

Bundled with HP ANSI C, HP aC++,FORTRAN 77, Fortran 90 developer's kits
Pete Conneely
Advisor

Re: Microsoft C++ and aC++ development