This is a discussion on What freeware tools should be on standard Sun Distro? within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I'm having to dig into some gcc code, and have used Linux tools in the past, like DDD. Is ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| "JeffK." wrote: > > I'm having to dig into some gcc code, and have used Linux tools in the > past, > like DDD. Is there some equivalent that comes with the Sun distribution > disk or GNU package? > > tia, > > JeffK. I don't for sure what comes on some of the extra CD's from Sun, as with Solaris 9 I just downloaded it. However, there are a number of packages available in Sun's standard pkgadd format at http://www.sunfreeware.com/ where you can find gcc. Surprisingly gdb is not there. If I recall correctly, ddd is just a front end to gdb. Anyway, there's a lot of material at Sunfreeware and what is not there, you can always download and compile from sources. Once you have gcc, you can have anything you want. Personally I tend to compile 99% of my packages from source myself. This is because I can produce faster code since: a) I have Sun's compiler (which is faster than the gcc used to compile most packages on Sunfreeware) b) I have an Ultrasparc machine, so I can optimise code for that. -- "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge. Dr. David Kirkby, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Website: http://www.medphys.ucl.ac.uk/~davek Author of 'atlc' http://atlc.sourceforge.net/ |
| |||
| David, Thanks for the tip. I have a standalone system which makes downloads a pain, thus my desire to see what I could expect with what supposedly comes standard. This fact combined with what appear to be better tools in Linux (gdb/ddd) prompted my question. I found the variable watch window in ddd to actually be quite useful. Granted one can use command line methods to view variables, but having a page full of arrays that change constantly makes command line stuff wanting. Thanks again for the tip! JeffK. |
| ||||
| In article <3F67A26C.5B718532@ftc.gov>, JeffK. <uce@ftc.gov> wrote: > I'm having to dig into some gcc code, and have used Linux tools in the > past, > like DDD. Is there some equivalent that comes with the Sun distribution > disk or GNU package? None of dig, gcc, or ddd are "Linux tools". Many of the tools used in Linux systems were developed on SunOS systems before Linux even existed. Sun delivers many of the freeware tools on the "Software Companion" ("Sun FreeWare") CD-ROM included in the Solaris media kit. $ uname -sr SunOS 5.8 $ ls =ddd =gdb /opt/sfw/bin/ddd /opt/sfw/bin/gdb $ egrep "/opt/sfw/bin/(ddd|gdb)" /var/sadm/install/contents /opt/sfw/bin/ddd f none 0555 root bin 3831816 18456 1006946353 SFWddd /opt/sfw/bin/gdb f none 0555 root bin 1679436 50773 1006944969 SFWgdb $ -- Göran Larsson http://www.mitt-eget.com/ |