home *** CD-ROM | disk | FTP | other *** search
- The binary version of gnat 3.03 is also contains the binary distribution
- of gcc 2.7.2. They are bundled with the "doconfig" script (modified) to enable
- the installation of the binaries on your target machine.
-
- Two issues specific to the Solaris x86 version exist:
-
- 1. Generation of dwarf debugging output (native for System V R4 Unix and elf)
- is STILL broken under gnat. The gcc compiler can correctly generate dwarf
- output, however gnat produces bad output for any strings and causes a
- compiler abort. To remedy this the -g switch will generate stabs or dbx
- output as was native for BSD and older Sun operating systems. Since this is a
- port to the Intel, and the SPARC Solaris currently does this as well, the
- support is present. To generate dwarf output simply use -gdwarf (for gcc
- only).
-
- 2. I have been unable to build a version of gdb that can read the stabs
- information that seems to be present in a C or Ada program generated by these
- binaries. The delivered adb seems to show symbolic information, but is not
- very friendly. I have not been able to test with any of the other Sun
- debuggers. The gdb debugger will read the dwarf symbolics generated for C
- programs.
-
- If anyone can help to verify the presence/absence of stabs symbolics and or
- repair the gdb debugger, (or if you are really ambitious fix the dwarf code
- generation) the help would be appreciated.
-
- If you wish to rebuild from source, contact me at ksheehan@wpllabs.com and I
- will send you a patch file and a header file to enable the stabs output. If
- you do not use these, you will have to modify the makefiles to remove
- references to the -g flag as the produced binary will fail as it processes
- the gnat source. I will post the patch file on NYU shortly as well.
-
- Enjoy!!!
-
- Kevin Sheehan
-