home *** CD-ROM | disk | FTP | other *** search
/ Solo Programadores 22 / SOLO_22.iso / gnat / gnat3_03 / solaris / readme < prev   
Encoding:
Text File  |  1996-03-01  |  1.7 KB  |  36 lines

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