article was published on Sun Developer's web site at: http://developers.sun.com/solaris/articles/external_linkage.htmlApparently I got the idea to submit this article from my blog post:http://technopark02.blogspot.com/2005/01/cc-external-linkage-with-extern-c.h...
Wednesday, 23 March 2005
Sunday, 13 March 2005
Sun Studio: Investigating memory leaks with Collector/Analyzer
Posted on 14:29 by Unknown
Sun Studio compiler collection bundles a set of tools for collecting and analyzing performance data from an application. Collector & Analyzer, a pair of tools from Sun Studio suite that we use to collect and analyze the performance data. Both tools can be used from the command line or from a graphical user interface.These two tools help answering the following questions:How much of the available resources does the program consume? Which functions or load objects are consuming the most resources?Which source lines and instructions are responsible...
Saturday, 12 March 2005
Solaris 10: Installing MPlayer
Posted on 02:10 by Unknown
MPlayer - Introduction:MPlayer is a movie player for UNIX/Linux and plays most MPEG, VOB, AVI, OGG/OGM, ASF/WMA/WMV, QT/MOV/MP4, RM etc., files, supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, RealMedia, and MPEG-4 (DivX) movies tooPrerequisites:GNU tools: gmake (make), gcc (compiler), gas (assembler), libiconv etc.,Note:On Solaris SPARC, we need the GNU C/C++ Compiler; it does not matter if GNU C/C++ compiler is configured with or without the GNU assemblerOn Solaris x86, we need the GNU assembler...
Sunday, 6 March 2005
Solaris: Setting up a DHCP client
Posted on 19:52 by Unknown
If the machine is connected to the network during the installation of the OS (Solaris in this case), the operating system takes care of setting up the dhcp (Dynamic Host Configuration Protocol) client for us. But if the machine is not hooked up to a network during the installation, we may have to set it up on our own once the machine is ready to use the network services. Infact it is a very simple process to setup and run dhcp client, which in turn takes care of getting the dynamic IP, DNS etc., from a DHCP server All we need to do is to create...
Friday, 4 March 2005
UNIX/Linux: Activating Comcast High Speed Internet Account
Posted on 23:24 by Unknown
Fact: Comcast doesn't support any OS except Windows & Mac. It doesn't mean that Unix/Linux users can not access internet with Comcast services; but it means Comcast refuses to trouble shoot any issues on *nix platform ie., *nix users are on their own to fix any of the issues In general, Comcast technician leaves a CD-ROM to activate the Comcast account, once the installation is done. The activation wizard of the CD takes care of registering the modem, activating the account for us. Unfortunately it works only on Windows and Mac platformsHowever...
Thursday, 3 March 2005
Obfuscated "C" code
Posted on 18:19 by Unknown
Found this interesting piece of C code somewhere on internet. Of course it compiles and prints out 3.141 on console; And it is not so hard to guess how the code in F_OO() gets executedGovinda% more fun.c#include <stdio.h>#define _ F-->00 || F-OO--;long F=00,OO=00;void F_OO() { _-_-_-_ _-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_...
Subscribe to:
Posts (Atom)