<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mahol Dot Org &#187; Tips &amp; Tricks</title>
	<atom:link href="http://www.mahol.org/blog/category/tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mahol.org/blog</link>
	<description>Weblog For All Your Need</description>
	<lastBuildDate>Thu, 26 Jan 2012 17:56:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ETA &#8211; Estimated Turn Around Time Planning Software Life Cycle</title>
		<link>http://www.mahol.org/blog/eta-estimated-turn-around-time-planning-software-life-cycle/</link>
		<comments>http://www.mahol.org/blog/eta-estimated-turn-around-time-planning-software-life-cycle/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 17:56:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=779</guid>
		<description><![CDATA[What is ETA? ETA stands for Estimated Turn Around Time. ETA is generally used in any planning and managment life cycle. In industry when a product born from an idea and enters into planning phase with stake holders in a Conference room, they all decide what should be the product launch date in the market [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><strong>What is ETA?</strong><br />
<strong>ETA</strong> stands for Estimated Turn Around Time. ETA is generally used in any planning and managment life cycle. In industry when a product born from an idea and enters into planning phase with stake holders in a Conference room, they all decide what should be the product launch date in the market for public use. <strong>ETA</strong> is not verbally decided for any product but it is calculated term with respect to resources available, and time available in the competent market. PRoduct goes from lifecyle so it is devided into many stages like <strong>requirement analysis</strong>, <strong>design</strong>, <strong>implementation</strong>, <strong>testing</strong> and last is <strong>delivery</strong>. This lifecycle again can repeate after customers feedback showing bugs in product or any new enhancement or featurs releases. In this lifecycle product is devided into modules and each module and so each phase has its <strong>ETA</strong>.<br />
<strong>Advantages of ETA.</strong><br />
Having <strong>ETA</strong> in planning or anything having planned with correct estimation gives direction and confidennce to the team towards the launch of product or to that precious idea which can make history or million dollars.<br />
With <strong>ETA</strong> we decide cost of product in advance.<br />
Having <strong>ETA</strong> product is driven with timelines.</p>
Number of View :15

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/eta-estimated-turn-around-time-planning-software-life-cycle/&amp;title=ETA+-+Estimated+Turn+Around+Time+Planning+Software+Life+Cycle" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=ETA+-+Estimated+Turn+Around+Time+Planning+Software+Life+Cycle+-+http://tinyurl.com/6sraczf&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/eta-estimated-turn-around-time-planning-software-life-cycle/&amp;t=ETA+-+Estimated+Turn+Around+Time+Planning+Software+Life+Cycle" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/eta-estimated-turn-around-time-planning-software-life-cycle/&amp;submitHeadline=ETA+-+Estimated+Turn+Around+Time+Planning+Software+Life+Cycle&amp;submitSummary=What%20is%20ETA%3F%0D%0AETA%20stands%20for%20Estimated%20Turn%20Around%20Time.%20ETA%20is%20generally%20used%20in%20any%20planning%20and%20managment%20life%20cycle.%20In%20industry%20when%20a%20product%20born%20from%20an%20idea%20and%20enters%20into%20planning%20phase%20with%20stake%20holders%20in%20a%20Conference%20room%2C%20they%20all%20decide%20what%20should%20be%20the%20product%20launch%20date%20in%20the%20&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/eta-estimated-turn-around-time-planning-software-life-cycle/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/eta-estimated-turn-around-time-planning-software-life-cycle/&amp;title=ETA+-+Estimated+Turn+Around+Time+Planning+Software+Life+Cycle" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/eta-estimated-turn-around-time-planning-software-life-cycle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging Fortran Programs Using IDB How To Debug Fortran Code Ifort Commands</title>
		<link>http://www.mahol.org/blog/debugging-fortran-programs-using-idb-how-to-debug-fortran-code-ifort-commands/</link>
		<comments>http://www.mahol.org/blog/debugging-fortran-programs-using-idb-how-to-debug-fortran-code-ifort-commands/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 11:54:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix2Win32_Porting]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[fortran]]></category>
		<category><![CDATA[unix to windows porting]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=636</guid>
		<description><![CDATA[how to debug fortran code using idb debugging Fortran programs. Compiling your Fortran program for debugging To prepare your program for debugging when using the command line (ifort command): In a command window, (such as the Fortran command window available from the Intel Fortran program folder), compile and link the program with full debug information [...]


Related posts:<ol><li><a href='http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/' rel='bookmark' title='Permanent Link: Ifort -extend-source Option Errors &#038; Fortran Fixed Formatting Use nofree'>Ifort -extend-source Option Errors &#038; Fortran Fixed Formatting Use nofree</a></li>
<li><a href='http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/' rel='bookmark' title='Permanent Link: How To Run .exe In Debug Mode Microsoft Visual Studio 2008'>How To Run .exe In Debug Mode Microsoft Visual Studio 2008</a></li>
<li><a href='http://www.mahol.org/blog/how-to-debug-err-this-application-has-failed-to-start-because-msvcr90-dll-was-not-found/' rel='bookmark' title='Permanent Link: How To Debug Err This Application Has Failed To Start Because MSVCR90.dll Was Not Found'>How To Debug Err This Application Has Failed To Start Because MSVCR90.dll Was Not Found</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>how to debug fortran code using idb</strong><br />
<strong>debugging Fortran programs.</strong></p>
<h2>Compiling your Fortran program for debugging</h2>
<p>To prepare your program for debugging when using the command line (<strong>ifort command</strong>):<br />
In a command window, (such as the Fortran command window available from the <a rel="nofollow" href="http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/fortran/win/compiler_f/bldaps_for/common/bldaps_prep_fordebug.htm">Intel Fortran </a>program folder), compile and link the program with full debug information and no optimization:</p>
<pre>      ifort -g file.f90 (Linux OS and Mac OS X)

      ifort /debug:full file.f90 (Windows OS)
</pre>
<p>On Windows OS, specify the /debug:full compiler option to produce full debugging information. It produces symbol table information needed for full symbolic debugging of unoptimized code and global symbol information needed for linking.<br />
<strong>How to use Intel idb as debugger.</strong><br />
IDB comes with good help information<br />
eg, (idb) help run<br />
Run the debugger program.</p>
<pre>Usage:

    run   (arguments) (redirections)

Arguments:

     Run the program with the specified arguments.

                Run the program with the specified input and output
                redirections.
</pre>
<p>If no arguments and redirections are specified, program is run with arguments<br />
and redirections specified by previous &#8220;run&#8221; command with arguments or by &#8220;set<br />
args&#8221; command.</p>
<p>Synonyms: &#8220;r&#8221;.<br />
To run the exe in debug mode from command line, use devenv with debugexe option..  read more for <a href="http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/">How To Run .exe In Debug Mode Microsoft Visual Studio. </a></p>
<pre>Eg. &gt; devenv /DebugExe r280test01.exe</pre>
<p>After windows debugger starts Hit F10 key to start debugging.<br />
Check out <strong>How to use dbx as debugger for fortan debugging</strong> <a rel="nofollow" href="http://docs.sun.com/source/817-6692/fortran.html">here</a>.<br />
Check out <strong>Debugging Fortran programs with gdb</strong> <a rel="nofollow" href="http://infohost.nmt.edu/tcc/help/lang/fortran/gdb.html">here </a><br />
<a rel="nofollow" href="http://www.ncsa.illinois.edu/UserInfo/Resources/Software/Intel/Compilers/10.0/idb_manual/">Intel® Debugger (IDB) Manual</a></p>
Number of View :1261

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/debugging-fortran-programs-using-idb-how-to-debug-fortran-code-ifort-commands/&amp;title=Debugging+Fortran+Programs+Using+IDB+How+To+Debug+Fortran+Code+Ifort+Commands" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Debugging+Fortran+Programs+Using+IDB+How+To+Debug+Fortran+Code+Ifort+Commands+-+http://tinyurl.com/3359lua&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/debugging-fortran-programs-using-idb-how-to-debug-fortran-code-ifort-commands/&amp;t=Debugging+Fortran+Programs+Using+IDB+How+To+Debug+Fortran+Code+Ifort+Commands" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/debugging-fortran-programs-using-idb-how-to-debug-fortran-code-ifort-commands/&amp;submitHeadline=Debugging+Fortran+Programs+Using+IDB+How+To+Debug+Fortran+Code+Ifort+Commands&amp;submitSummary=how%20to%20debug%20fortran%20code%20using%20idb%0D%0Adebugging%20Fortran%20programs.%0D%0ACompiling%20your%20Fortran%20program%20for%20debugging%0D%0ATo%20prepare%20your%20program%20for%20debugging%20when%20using%20the%20command%20line%20%28ifort%20command%29%3A%0D%0AIn%20a%20command%20window%2C%20%28such%20as%20the%20Fortran%20command%20window%20available%20from%20the%20Intel%20Fortran%20program%20folder&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/debugging-fortran-programs-using-idb-how-to-debug-fortran-code-ifort-commands/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/debugging-fortran-programs-using-idb-how-to-debug-fortran-code-ifort-commands/&amp;title=Debugging+Fortran+Programs+Using+IDB+How+To+Debug+Fortran+Code+Ifort+Commands" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/' rel='bookmark' title='Permanent Link: Ifort -extend-source Option Errors &#038; Fortran Fixed Formatting Use nofree'>Ifort -extend-source Option Errors &#038; Fortran Fixed Formatting Use nofree</a></li>
<li><a href='http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/' rel='bookmark' title='Permanent Link: How To Run .exe In Debug Mode Microsoft Visual Studio 2008'>How To Run .exe In Debug Mode Microsoft Visual Studio 2008</a></li>
<li><a href='http://www.mahol.org/blog/how-to-debug-err-this-application-has-failed-to-start-because-msvcr90-dll-was-not-found/' rel='bookmark' title='Permanent Link: How To Debug Err This Application Has Failed To Start Because MSVCR90.dll Was Not Found'>How To Debug Err This Application Has Failed To Start Because MSVCR90.dll Was Not Found</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/debugging-fortran-programs-using-idb-how-to-debug-fortran-code-ifort-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Run .exe In Debug Mode Microsoft Visual Studio 2008</title>
		<link>http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/</link>
		<comments>http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 06:51:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[unix to windows porting]]></category>
		<category><![CDATA[win32]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=511</guid>
		<description><![CDATA[How to run .exe in debug mode microsoft visual studio 2008? Here are few solutions I got for Running .exe in debug mode using the Windows debugger. Using Devenv Devenv allows you to set various options for the integrated development environment (IDE); /DebugExe Loads a Visual C++ executable under the control of the debugger. This [...]


Related posts:<ol><li><a href='http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/' rel='bookmark' title='Permanent Link: How To _access Function For Long File Names As Path In Winddows Programming Use UNC'>How To _access Function For Long File Names As Path In Winddows Programming Use UNC</a></li>
<li><a href='http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/' rel='bookmark' title='Permanent Link: How To Resolve Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler'>How To Resolve Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler</a></li>
<li><a href='http://www.mahol.org/blog/icet-2010-answer-key-www-icet2010-net/' rel='bookmark' title='Permanent Link: ICET 2010 answer Key www.icet2010.net/'>ICET 2010 answer Key www.icet2010.net/</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>How to run .exe in debug mode microsoft visual studio 2008?</strong><br />
Here are few solutions I got for Running .exe in debug mode using the Windows debugger.</p>
<h3>Using Devenv</h3>
<p>Devenv allows you to set various options for the integrated development environment (IDE);</p>
<p>/DebugExe</p>
<p>Loads a Visual C++ executable under the control of the debugger. This switch is not available for Visual Basic or Visual C# executable.</p>
<p>Example : if your win32 binary executable name is test.exe then, to run this win32 binary in debug mode use this command on windows command prompt.</p>
<pre>C:\tmp&gt;devenv /DebugExe test.exe</pre>
<p>Your default debugger will start and loads this binary for debug mode. Then just hit F10 Key to go to main function. For Now on your debugging starts, ie to step into function use F11 key, you can put breakpoints and all debugging stuff.<br />
I assume that you have compiled the binary test.exe with debug flag enabled, else debugger will not find the debug symbols and will not load the code.</p>
<h3>Using Image File Execution Options</h3>
<p>To setup an application to launch the debugger automatically.<br />
How to: Launch the Debugger Automatically<br />
the Image File Execution Options folder, locate the name of the application you want to debug, such as myapp.exe. If you cannot find the application you want to debug:</p>
<ol>
<li> right-click the Image File Execution Options folder, and on the shortcut menu, click New Key.</li>
<li> Right-click the new key, and on the shortcut menu, click Rename.</li>
<li> Edit the key name to the name of your application; myapp.exe, in this example.</li>
</ol>
<p><a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/a329t4ed%28v=VS.90%29.aspx">read more</a><br />
How to open a file, and go to a line number<br />
devenv /edit E:\code.cpp /command &#8220;edit.goto 45&#8243;</p>
<p>In this example, devenv will open the code.cpp file, and go to line 45.</p>
Number of View :1239

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/&amp;title=How+To+Run+.exe+In+Debug+Mode+Microsoft+Visual+Studio+2008" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+To+Run+.exe+In+Debug+Mode+Microsoft+Visual+Studio+2008+-+http://tinyurl.com/36rgob7&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/&amp;t=How+To+Run+.exe+In+Debug+Mode+Microsoft+Visual+Studio+2008" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/&amp;submitHeadline=How+To+Run+.exe+In+Debug+Mode+Microsoft+Visual+Studio+2008&amp;submitSummary=How%20to%20run%20.exe%20in%20debug%20mode%20microsoft%20visual%20studio%202008%3F%0D%0AHere%20are%20few%20solutions%20I%20got%20for%20Running%20.exe%20in%20debug%20mode%20using%20the%20Windows%20debugger.%0D%0AUsing%20Devenv%0D%0ADevenv%20allows%20you%20to%20set%20various%20options%20for%20the%20integrated%20development%20environment%20%28IDE%29%3B%0D%0A%0D%0A%2FDebugExe%0D%0A%0D%0ALoads%20a%20Visual%20C%2B%2B%20executable&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/&amp;title=How+To+Run+.exe+In+Debug+Mode+Microsoft+Visual+Studio+2008" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/' rel='bookmark' title='Permanent Link: How To _access Function For Long File Names As Path In Winddows Programming Use UNC'>How To _access Function For Long File Names As Path In Winddows Programming Use UNC</a></li>
<li><a href='http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/' rel='bookmark' title='Permanent Link: How To Resolve Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler'>How To Resolve Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler</a></li>
<li><a href='http://www.mahol.org/blog/icet-2010-answer-key-www-icet2010-net/' rel='bookmark' title='Permanent Link: ICET 2010 answer Key www.icet2010.net/'>ICET 2010 answer Key www.icet2010.net/</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/how-to-run-exe-in-debug-mode-microsoft-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Resolve Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler</title>
		<link>http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/</link>
		<comments>http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 10:19:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix2Win32_Porting]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix to windows porting]]></category>
		<category><![CDATA[win32]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=499</guid>
		<description><![CDATA[Was getting Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler. check out complete man pgcpp - The Portland Group Inc. C++ compiler Building an application software using pgcc compiler, developed by C++ Language generates two external references of symbols [__curr_eh_stack_entry] and [__eh_curr_region], and results in kink error. Why? How To Resolve Error __curr_eh_stack_entry and __eh_curr_region [...]


Related posts:<ol><li><a href='http://www.mahol.org/blog/unresolved-external-symbol-_getenv_-use-ifport-link-error-for-application-porting-from-unix-to-win32/' rel='bookmark' title='Permanent Link: Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32'>Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32</a></li>
<li><a href='http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/' rel='bookmark' title='Permanent Link: Parse error: wp-content/themes/grid_focus/functions.php on line 6'>Parse error: wp-content/themes/grid_focus/functions.php on line 6</a></li>
<li><a href='http://www.mahol.org/blog/solution-c-requires-that-a-struct-or-union-has-at-least-one-member/' rel='bookmark' title='Permanent Link: Solution &#8211; C Requires That a Struct Or Union Has At Least One Member'>Solution &#8211; C Requires That a Struct Or Union Has At Least One Member</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Was getting Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler.<br />
check out complete <a rel="nofollow" href="http://www.urc.uncc.edu/urc/man-pages/?parameter=pgcpp">man  pgcpp </a>- The Portland Group Inc. C++ compiler</p>
<p>Building an application software using pgcc compiler, developed by C++ Language generates two external references of symbols [__curr_eh_stack_entry] and [__eh_curr_region], and results in kink error. Why?</p>
<h1>
How To Resolve Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler?</h1>
<p><strong>Answer</strong>:<br />
Compiler automatically generates these symbols when -exception (C++ exception handling) and -rtti=on (Runtime type information) options are used. If these option is not required to use, Please do not enable them.<br />
<a rel="nofollow" href="http://www.renesas.com/support/faqs/faq_results/Q101401-Q101500/tool_compiler_2004080505.jsp?site=">source</a></p>
<p><strong>-rtti(default) &#8211;no_rtti</strong> An pgcc compiler option switch.<br />
Enable (disable) support for RTTI (runtime type Information) features: dynamic_cast, typeid.</p>
Number of View :471

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/&amp;title=How+To+Resolve+Error+__curr_eh_stack_entry+and+__eh_curr_region+With+pgcpp+C%2B%2B+Compiler" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+To+Resolve+Error+__curr_eh_stack_entry+and+__eh_curr_region+With+pgcpp+C%2B%2B+C%5B..%5D+-+http://tinyurl.com/2a285fk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/&amp;t=How+To+Resolve+Error+__curr_eh_stack_entry+and+__eh_curr_region+With+pgcpp+C%2B%2B+Compiler" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/&amp;submitHeadline=How+To+Resolve+Error+__curr_eh_stack_entry+and+__eh_curr_region+With+pgcpp+C%2B%2B+Compiler&amp;submitSummary=Was%20getting%20Error%20__curr_eh_stack_entry%20and%20__eh_curr_region%20With%20pgcpp%20C%2B%2B%20Compiler.%20%0D%0Acheck%20out%20complete%20man%20%20pgcpp%20-%20The%20Portland%20Group%20Inc.%20C%2B%2B%20compiler%0D%0A%0D%0ABuilding%20an%20application%20software%20using%20pgcc%20compiler%2C%20developed%20by%20C%2B%2B%20Language%20generates%20two%20external%20references%20of%20symbols%20%5B__curr_eh_stac&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/&amp;title=How+To+Resolve+Error+__curr_eh_stack_entry+and+__eh_curr_region+With+pgcpp+C%2B%2B+Compiler" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.mahol.org/blog/unresolved-external-symbol-_getenv_-use-ifport-link-error-for-application-porting-from-unix-to-win32/' rel='bookmark' title='Permanent Link: Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32'>Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32</a></li>
<li><a href='http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/' rel='bookmark' title='Permanent Link: Parse error: wp-content/themes/grid_focus/functions.php on line 6'>Parse error: wp-content/themes/grid_focus/functions.php on line 6</a></li>
<li><a href='http://www.mahol.org/blog/solution-c-requires-that-a-struct-or-union-has-at-least-one-member/' rel='bookmark' title='Permanent Link: Solution &#8211; C Requires That a Struct Or Union Has At Least One Member'>Solution &#8211; C Requires That a Struct Or Union Has At Least One Member</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/how-to-resolve-error-__curr_eh_stack_entry-and-__eh_curr_region-with-pgcpp-c-compiler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To _access Function For Long File Names As Path In Winddows Programming Use UNC</title>
		<link>http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/</link>
		<comments>http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 11:19:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix2Win32_Porting]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix to windows porting]]></category>
		<category><![CDATA[win32]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=504</guid>
		<description><![CDATA[I use the function _access to check for file/directory existence in my program, Problem definition: I have noticed that the function can&#8217;t deal with long file names.  I wanted to check if file is available or not at path located &#8220;C:\Documents and Settings\0001&#8243;, did Google search on how to give long file names in windows.. [...]


Related posts:<ol><li><a href='http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/' rel='bookmark' title='Permanent Link: Fork Implementation In Windows Operating System Vfork Implement in Win32'>Fork Implementation In Windows Operating System Vfork Implement in Win32</a></li>
<li><a href='http://www.mahol.org/blog/createprocess-and-fork-in-windows-differences-and-implementation/' rel='bookmark' title='Permanent Link: CreateProcess And fork() In Windows Differences And Implementation'>CreateProcess And fork() In Windows Differences And Implementation</a></li>
<li><a href='http://www.mahol.org/blog/unresolved-external-symbol-_getenv_-use-ifport-link-error-for-application-porting-from-unix-to-win32/' rel='bookmark' title='Permanent Link: Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32'>Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I use the function <a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/1w06ktdy%28VS.71%29.aspx">_access</a> to check for file/directory existence in my program,<br />
<strong>Problem definition:</strong> I have noticed that the function can&#8217;t deal with long file names.  I wanted to check if file is available or not at path located &#8220;C:\Documents and Settings\0001&#8243;, did Google search on how to give long file names in windows..</p>
<h2>How To _access Function For Long File Names As Path In Winddows Programming make Use of UNC standards</h2>
<p><strong>Solution </strong>use the <strong>UNC(Universal Naming Convention) </strong>conventions for path to be specified while working with windows programs.</p>
<p>ie the path should be &#8220;C:\\Documents and Settings\\0001&#8243;</p>
<p>Now The next problem is<strong> wanted to use period ie . in file name path,</strong></p>
<p>Eg. I need to use the path as &#8220;C:\\Documents and Settings\\.test\\0001&#8243;<br />
So tried with something like &#8220;\\.\&#8221; But The &#8220;\\.\&#8221; prefix will access the Win32 device namespace instead of the Win32 file namespace.</p>
<p>Then how to Turns off automatic expansion of the path string?<strong> Use  the &#8220;\\?\&#8221; prefix</strong> also allows the use of &#8220;..&#8221; and &#8220;.&#8221; in the path names. To specify an extended-length path, use the &#8220;\\?\&#8221;         prefix. For example, &#8220;\\?\D:\&lt;very long path&gt;&#8221;.  Read more about <a href="http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#paths">Naming Files, Paths, and Namespaces</a></p>
<p>That did not help much, and tried directly with &#8220;C:\\Documents and Settings\\.test\\0001&#8243; It works.<br />
you can also try the PathFileExists function</p>
<p><strong>access function Return Value</strong></p>
<p>Each function returns 0 if the file has the given mode. The function returns –1 if the named file does not exist or is not accessible in the given mode;</p>
<p><strong>Do share your questions and views..</strong></p>
Number of View :474

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/&amp;title=How+To+_access+Function+For+Long+File+Names+As+Path+In+Winddows+Programming+Use+UNC" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+To+_access+Function+For+Long+File+Names+As+Path+In+Winddows+Programming+Use+%5B..%5D+-+http://tinyurl.com/39m79uu&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/&amp;t=How+To+_access+Function+For+Long+File+Names+As+Path+In+Winddows+Programming+Use+UNC" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/&amp;submitHeadline=How+To+_access+Function+For+Long+File+Names+As+Path+In+Winddows+Programming+Use+UNC&amp;submitSummary=I%20use%20the%20function%20_access%20to%20check%20for%20file%2Fdirectory%20existence%20in%20my%20program%2C%0D%0AProblem%20definition%3A%20I%20have%20noticed%20that%20the%20function%20can%27t%20deal%20with%20long%20file%20names.%C2%A0%20I%20wanted%20to%20check%20if%20file%20is%20available%20or%20not%20at%20path%20located%20%22C%3A%5CDocuments%20and%20Settings%5C0001%22%2C%20did%20Google%20search%20on%20how%20to%20give%20lo&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/&amp;title=How+To+_access+Function+For+Long+File+Names+As+Path+In+Winddows+Programming+Use+UNC" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/' rel='bookmark' title='Permanent Link: Fork Implementation In Windows Operating System Vfork Implement in Win32'>Fork Implementation In Windows Operating System Vfork Implement in Win32</a></li>
<li><a href='http://www.mahol.org/blog/createprocess-and-fork-in-windows-differences-and-implementation/' rel='bookmark' title='Permanent Link: CreateProcess And fork() In Windows Differences And Implementation'>CreateProcess And fork() In Windows Differences And Implementation</a></li>
<li><a href='http://www.mahol.org/blog/unresolved-external-symbol-_getenv_-use-ifport-link-error-for-application-porting-from-unix-to-win32/' rel='bookmark' title='Permanent Link: Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32'>Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/how-to-_access-function-for-long-file-names-as-path-in-winddows-programming-use-unc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fork Implementation In Windows Operating System Vfork Implement in Win32</title>
		<link>http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/</link>
		<comments>http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 10:00:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix2Win32_Porting]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix to windows porting]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=494</guid>
		<description><![CDATA[With little understanding of fork basics here are few more findings on how to vfork implementation in windows operating system and fork implementation on win32 AT&#38;T Labs Research - Software Tools pick out UWIN: Unix on Windows 95 and NT Machines Major difference in Linux/Unix functionality and WIN32 applications Process control and management: Fork implementation [...]


Related posts:<ol><li><a href='http://www.mahol.org/blog/createprocess-and-fork-in-windows-differences-and-implementation/' rel='bookmark' title='Permanent Link: CreateProcess And fork() In Windows Differences And Implementation'>CreateProcess And fork() In Windows Differences And Implementation</a></li>
<li><a href='http://www.mahol.org/blog/unresolved-external-symbol-_getenv_-use-ifport-link-error-for-application-porting-from-unix-to-win32/' rel='bookmark' title='Permanent Link: Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32'>Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32</a></li>
<li><a href='http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/' rel='bookmark' title='Permanent Link: How To Capture X Protocol Traffic Using Wireshark On Windows XP?'>How To Capture X Protocol Traffic Using Wireshark On Windows XP?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>With little understanding of <a href="http://www.mahol.org/blog/createprocess-and-fork-in-windows-differences-and-implementation/">fork basics </a>here are few more findings on how to vfork implementation in windows operating system and<br />
fork implementation on win32<br />
<a rel="nofollow" href="http://www.research.att.com/software_tools">AT&amp;T Labs Research </a>- Software Tools pick out <a rel="nofollow" href="http://www2.research.att.com/sw/tools/uwin/">UWIN</a>: Unix on Windows 95 and NT Machines<br />
Major difference in Linux/Unix functionality and WIN32 applications<br />
Process control and management:<br />
<strong>Fork implementation </strong><br />
processes can be created using the fork(2) function, in win32 includes a spawn family of functions that combines the functionality of fork/exec for efficiency.<br />
<strong>File descriptor </strong><br />
Open files, pipes, sockets, fifos, and character and block special devices files have file descriptors associated with them. In windows it is called handle.<br />
<strong> signals</strong><br />
Most of the unix/linux signals are absent in windows, like SIGALRM<br />
SIGCHLD<br />
SIGHUP<br />
SIGINT<br />
SIGKILL<br />
SIGPIPE<br />
SIGQUIT<br />
SIGUSR1<br />
SIGUSR2<br />
these can be implemented using replacement methods like SIGALRM	Time-out alarm	can be implemented using SetTimer – WM_TIMER &#8211; CreateWaitableTimer<br />
SIGCHLD	Change in status of child	can be implemented using WaitForSingleObject<br />
<strong>Terminal interface for consoles, sockets, and serial lines</strong></p>
<p><strong>sockets based on WINSOCK:</strong></p>
<p><strong>File control locking:</strong></p>
<p><strong>Memory mapping and shared memory</strong><br />
mmap()</p>
<p><strong>System V IPC</strong><br />
semaphore; Shmget	can be implemented using CreateFileMaping or<br />
OpenFileMapping<br />
shmdt can be implemented using	UnmapViewOfFile<br />
shmat  can be implemented using	MapViewOfFile<br />
Pipe	to _pipe<br />
Close	to _close</p>
<p><strong>Runtime linking of dynamically linked libraries</strong> : like The dlopen(), dlsym() interface<br />
<strong> Error mapping from Windows to UNIX</strong></p>
<p><strong>Symbolic links</strong><br />
Symbolic links to files and directories can be created and can be implemented as Windows shortcuts.</p>
<p>Few Good References for Unix2Win porting</p>
<ol>
<li><a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/ms740096%28VS.85%29.aspx">Porting Socket Applications to Winsock</a></li>
<li><a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/ms684847%28v=VS.85%29.aspx">Process and Thread Functions</a></li>
<li><a rel="nofollow" href="http://tangentsoft.net/wskfaq/articles/bsd-compatibility.html">Winsock Programmer’s FAQ Articles: BSD Sockets Compatibility </a></li>
<li><a rel="nofollow" href="http://gnuwin32.sourceforge.net/packages/libgw32c.htm">LibGW32C for GNU C library for Windows</a></li>
<li><a rel="nofollow" href="http://www.suacommunity.com/dictionary/chdir-entry.php">Unix to Windows Porting Dictionary for HPC</a></li>
<li><a rel="nofollow" href="http://www.zemris.fer.hr/predmeti/os1/misc/Unix2Win.htm">UNIX Application Migration Guide</a></li>
</ol>
Number of View :751

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/&amp;title=Fork+Implementation+In+Windows+Operating+System+Vfork+Implement+in+Win32" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Fork+Implementation+In+Windows+Operating+System+Vfork+Implement+in+Win32+-+http://tinyurl.com/29xozej&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/&amp;t=Fork+Implementation+In+Windows+Operating+System+Vfork+Implement+in+Win32" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/&amp;submitHeadline=Fork+Implementation+In+Windows+Operating+System+Vfork+Implement+in+Win32&amp;submitSummary=With%20little%20understanding%20of%20fork%20basics%20here%20are%20few%20more%20findings%20on%20how%20to%20vfork%20implementation%20in%20windows%20operating%20system%20and%0D%0Afork%20implementation%20on%20win32%0D%0AAT%26amp%3BT%20Labs%20Research%20-%20Software%20Tools%20pick%20out%20UWIN%3A%20Unix%20on%20Windows%2095%20and%20NT%20Machines%0D%0AMajor%20difference%20in%20Linux%2FUnix%20functionality%20an&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/&amp;title=Fork+Implementation+In+Windows+Operating+System+Vfork+Implement+in+Win32" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.mahol.org/blog/createprocess-and-fork-in-windows-differences-and-implementation/' rel='bookmark' title='Permanent Link: CreateProcess And fork() In Windows Differences And Implementation'>CreateProcess And fork() In Windows Differences And Implementation</a></li>
<li><a href='http://www.mahol.org/blog/unresolved-external-symbol-_getenv_-use-ifport-link-error-for-application-porting-from-unix-to-win32/' rel='bookmark' title='Permanent Link: Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32'>Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32</a></li>
<li><a href='http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/' rel='bookmark' title='Permanent Link: How To Capture X Protocol Traffic Using Wireshark On Windows XP?'>How To Capture X Protocol Traffic Using Wireshark On Windows XP?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/fork-implementation-in-windows-operating-system-vfork-implement-in-win32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross Compiling Python 2.6.2 For ARM Cross Compiling Python for Embedded Linux</title>
		<link>http://www.mahol.org/blog/cross-compiling-python-2-6-2-for-arm/</link>
		<comments>http://www.mahol.org/blog/cross-compiling-python-2-6-2-for-arm/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 09:19:26 +0000</pubDate>
		<dc:creator>sami</dc:creator>
				<category><![CDATA[Tech-Tips]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[embedded linux]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=423</guid>
		<description><![CDATA[Tried to Cross Compile Python 2.6.2 For my ARM board, got success to successfully port python on ARM board, On ARM board Embedded Linux is already ported and running fine. ==&#62;&#62;  Here are simple steps to Cross compile python for ARM target board. 1) setup ARM tool chain with X11 2) export PKG_CONFIG_PATH install dependencies [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Tried to Cross Compile Python 2.6.2 For my ARM board, got success to successfully port python on ARM board, On ARM board Embedded Linux is already ported and running fine.</p>
<p><img src="http://www.python.org/images/python-logo.gif" alt="http://www.python.org/images/python-logo.gif" width="123" height="40" /> ==&gt;&gt;  <img src="http://www.arm.com/images/site/arm_logo.gif" alt="http://www.arm.com/images/site/arm_logo.gif" width="115" height="37" /></p>
<p>Here are simple steps to Cross compile python for ARM target board.</p>
<p>1) setup ARM tool chain with X11<br />
2) export PKG_CONFIG_PATH</p>
<p><strong>install dependencies</strong><br />
====================</p>
<p><strong>Dependencies taken from DEBIAN</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
1) libdb<br />
copy</p>
<p>2) libsqlite3<br />
copy and change prefix in sqlite3.pc</p>
<p>3) ncursesw<br />
copy</p>
<p><strong>Dependencies installed from source</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1) bzip2<br />
edit Makefile</p>
<p>CC=arm-linux-gcc<br />
AR=arm-linux-ar<br />
RANLIB=arm-linux-ranlib<br />
PREFIX=your_toolchain_prefix_path</p>
<p>make<br />
make install</p>
<p>2) gdbm<br />
./configure &#8211;host=arm-linux &#8211;target=arm-linux &#8211;prefix=/xxx/yyy &#8211;enable-shared<br />
make<br />
make install<br />
3) tcl-8.4.19<br />
cd to unix folder</p>
<p>export ac_cv_func_strtod=yes<br />
export tcl_cv_strtod_buggy=1</p>
<p>CC=arm-linux-gcc ./configure &#8211;host=arm-linux &#8211;prefix=/xxx/yyy</p>
<p>make<br />
make install DESTDIR=/xxx/yyy</p>
<p>Note: dont install in prefix otherwise tk is not compiling.</p>
<p>4) tk-8.4.19</p>
<p>./configure &#8211;host=arm-linux CC=arm-linux-gcc<br />
&#8211;prefix=/xxx/yyy &#8211;with-tcl=&lt;path to unix folder in source of tcl&gt;</p>
<p>make</p>
<p>make install</p>
<p>Note: you may have to move X11R6 from toolchain to /usr because its looking  in /usr for the X11 libs. if you do so remember to take backup of your /usr/X11R6 and then restore when you are done cross compiling python. Later find out why Makefiles are looking for X11R6 in /usr and change the path in those Makefiles..</p>
<p>5) readline-6.1<br />
./configure<br />
make<br />
make install</p>
<p>6) openssl-0.9.8<br />
There is no need to type configure, a Makefile is already existing. We just need to edit it and change it with way:</p>
<p>INSTALLTOP=/opt/external_packages/openssl/0.9.8g/compiled/xxx-yyy-linux-gnu<br />
OPENSSLDIR=/opt/external_packages/openssl/0.9.8g/compiled/xxx-yyy-linux-gnu</p>
<p>CC= xxx-yyy-linux-gnu-gcc<br />
AR=xxx-yyy-linux-gnu-ar $(ARFLAGS) r<br />
RANLIB= xxx-yyy-linux-gnu-ranlib<br />
To compile and install the OpenSSL project, type successively make and make install. You should find the directories and files listed above under /opt/external_packages/openssl/0.9.8g/compiled/xxx-yyy-linux-gnu/.</p>
<p>change pkg-config files</p>
<p><strong>Patching Python-2.6.2 before crosscompile</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
1) ./configure<br />
2) make python Parser/pgen<br />
3) mv python hostpython<br />
4) mv Parser/pgen Parser/hostpgen<br />
5) make distclean</p>
<p>6) apply the patch Python-2.6.2-xcompile.patch<br />
patch -p1 &lt; Python-2.6.2-xcompile.patch</p>
<p>7) In Modules/Setup.config and setup.py according to<br />
Setup.config and setup.py (TODO: make patches for setup.py and Setup.config).<br />
 <img src='http://www.mahol.org/blog/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> edit Modules/getaddrinfo.c and change &#8220;u_&#8221; to &#8220;unsigned &#8221;</p>
<p><strong>Compiling Python-2.6.2</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
CC=arm-linux-gcc CXX=arm-linux-g++ AR=arm-linux-ar RANLIB=arm-linux-ranlib ./configure &#8211;host=arm-linux &#8211;build=i686-pc-linux-gnu &#8211;prefix=/xxx/yyy<br />
make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen BLDSHARED=&#8221;arm-linux-gcc -shared&#8221; CROSS_COMPILE=arm-linux- CROSS_COMPILE_TARGET=yes<br />
make  install HOSTPYTHON=./hostpython BLDSHARED=&#8221;arm-linux-gcc -shared&#8221; CROSS_COMPILE=arm-linux- CROSS_COMPILE_TARGET=yes prefix=~/Python-3.1.2</p>
<p>Dependencies &#8211; Setup.config and setup.py are configuration files are required to be modify for ARM board.</p>
<p><strong>Downloads required for Cross Compiling Python for Embedded Linux</strong></p>
<ol>
<li> <strong><a href="http://www.mahol.org/blog/wp-content/uploads/2010/01/Setup.config">Setup.config</a></strong></li>
<li><strong><a href="http://www.mahol.org/blog/wp-content/uploads/2010/01/python_setup_file">setup.py</a></strong></li>
</ol>
<p>Note -Rename python_setup_file to setup.py<br />
<strong>Links -  <a onmousedown="return clk(this.href,'','','','1','','0CBcQFjAA')" href="http://www.python.org/download/"><em><em>Download Python</em></em></a></strong></p>
<p><strong><a href="http://randomsplat.com/wp-content/uploads/2009/08/Python-2.6.2-xcompile.patch">python corss compile patch used.</a></strong></p>
Number of View :1470

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/cross-compiling-python-2-6-2-for-arm/&amp;title=Cross+Compiling+Python+2.6.2+For+ARM+Cross+Compiling+Python+for+Embedded+Linux" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Cross+Compiling+Python+2.6.2+For+ARM+Cross+Compiling+Python+for+Embedded+Linux+-+http://tinyurl.com/269h4n5&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/cross-compiling-python-2-6-2-for-arm/&amp;t=Cross+Compiling+Python+2.6.2+For+ARM+Cross+Compiling+Python+for+Embedded+Linux" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/cross-compiling-python-2-6-2-for-arm/&amp;submitHeadline=Cross+Compiling+Python+2.6.2+For+ARM+Cross+Compiling+Python+for+Embedded+Linux&amp;submitSummary=Tried%20to%20Cross%20Compile%20Python%202.6.2%20For%20my%20ARM%20board%2C%20got%20success%20to%20successfully%20port%20python%20on%20ARM%20board%2C%20On%20ARM%20board%20Embedded%20Linux%20is%20already%20ported%20and%20running%20fine.%0D%0A%0D%0A%20%3D%3D%26gt%3B%26gt%3B%C2%A0%20%0D%0A%0D%0AHere%20are%20simple%20steps%20to%20Cross%20compile%20python%20for%20ARM%20target%20board.%0D%0A%0D%0A1%29%20setup%20ARM%20tool%20chain%20with%20X11%0D%0A2%29&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/cross-compiling-python-2-6-2-for-arm/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/cross-compiling-python-2-6-2-for-arm/&amp;title=Cross+Compiling+Python+2.6.2+For+ARM+Cross+Compiling+Python+for+Embedded+Linux" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/cross-compiling-python-2-6-2-for-arm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ifort -extend-source Option Errors &amp; Fortran Fixed Formatting Use nofree</title>
		<link>http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/</link>
		<comments>http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 17:24:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech-Tips]]></category>
		<category><![CDATA[Unix2Win32_Porting]]></category>
		<category><![CDATA[etherial]]></category>
		<category><![CDATA[fortran]]></category>
		<category><![CDATA[free download]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=413</guid>
		<description><![CDATA[Problem Definition Working on FORTRAN source code migrations from Solaris operating system to windows XP.  Fortran being most portable code so most of the time we do not see any problems while porting fortran code, but there is always problem with columns length exceeds to default value and while compilations we forgot to take care [...]


Related posts:<ol><li><a href='http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/' rel='bookmark' title='Permanent Link: How To Capture X Protocol Traffic Using Wireshark On Windows XP?'>How To Capture X Protocol Traffic Using Wireshark On Windows XP?</a></li>
<li><a href='http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp/' rel='bookmark' title='Permanent Link: How To Capture X Protocol Traffic Using Wireshark On Windows XP'>How To Capture X Protocol Traffic Using Wireshark On Windows XP</a></li>
<li><a href='http://www.mahol.org/blog/unresolved-external-symbol-_getenv_-use-ifport-link-error-for-application-porting-from-unix-to-win32/' rel='bookmark' title='Permanent Link: Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32'>Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Problem Definition</strong><br />
Working on<strong> FORTRAN source code migrations</strong> from Solaris operating system to windows XP. <strong> Fortran being most portable code</strong> so most of the time we do not see any problems while porting fortran code, but there is always problem with columns length exceeds to default value and while compilations we forgot to take care of option <strong>extend-source.</strong></p>
<p><strong>Intel® Fortran compiler(ifort) – Option -extend-source</strong></p>
<pre>       -extend-source [size]
	      Specifies the column number to use to end the  statement	field
	      in  fixed-form source files. [size] can be 72, 80, or 132.  The
	      default behavior is -noextend-source, which implies column  72.
	      If  you  do  not	specify	 size,	it  is the same as specifying
	      -extend-source 132.</pre>
<p>source <a href="http://www.rcac.purdue.edu/userinfo/resources/common/compile/compilers/intel/man/ifort.txt">ifort help or man ifort</a></p>
<p><strong>Solution</strong><br />
The Makefile has a compiler flag called /extend_source:132, which basically extends the number of columns the Fortran compiler looks at. The default value is 72. /extend_source extends the number of columns that the compiler looks at to 132.</p>
<p><strong>Fortran generally uses something called as Fixed Formatting </strong>- which takes 72 valid columns, ignores the rest and also considers tabs and spaces as comments inside a statement field.<br />
<strong>/nofree</strong> tells the compiler that fixed formatting needs to be used. Most of the time code follows <strong>fixed formatting.</strong></p>
<p>TO remove all compiler errors which pertain to syntax errors at Format statement just add some variable in your makefile, like<br />
COLEXTEND=/extend_source:132</p>
<p>And when facing problem while compiling any fortran module in Windows just compile with COLEXTEND= /nofree.</p>
<p>example of make command, assuming windows makefile name as win.make</p>
<p>on command prompt type : nmake /f win.make COLEXTEND=/nofree</p>
<p>Good luck and do comment your experiences as well.</p>
<p>Related problem regarding</p>
<h1><a href="http://software.intel.com/en-us/articles/extend-source-not-ignored-for-f90-source-file/">-extend-source option</a></h1>
Number of View :894

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/&amp;title=Ifort+-extend-source+Option+Errors+%26+Fortran+Fixed+Formatting+Use+nofree" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Ifort+-extend-source+Option+Errors+%26+Fortran+Fixed+Formatting+Use+nofree+-+http://tinyurl.com/26vp3xv&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/&amp;t=Ifort+-extend-source+Option+Errors+%26+Fortran+Fixed+Formatting+Use+nofree" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/&amp;submitHeadline=Ifort+-extend-source+Option+Errors+%26+Fortran+Fixed+Formatting+Use+nofree&amp;submitSummary=Problem%20Definition%0D%0AWorking%20on%20FORTRAN%20source%20code%20migrations%20from%20Solaris%20operating%20system%20to%20windows%20XP.%C2%A0%20Fortran%20being%20most%20portable%20code%20so%20most%20of%20the%20time%20we%20do%20not%20see%20any%20problems%20while%20porting%20fortran%20code%2C%20but%20there%20is%20always%20problem%20with%20columns%20length%20exceeds%20to%20default%20value%20and%20while%20&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/&amp;title=Ifort+-extend-source+Option+Errors+%26+Fortran+Fixed+Formatting+Use+nofree" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/' rel='bookmark' title='Permanent Link: How To Capture X Protocol Traffic Using Wireshark On Windows XP?'>How To Capture X Protocol Traffic Using Wireshark On Windows XP?</a></li>
<li><a href='http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp/' rel='bookmark' title='Permanent Link: How To Capture X Protocol Traffic Using Wireshark On Windows XP'>How To Capture X Protocol Traffic Using Wireshark On Windows XP</a></li>
<li><a href='http://www.mahol.org/blog/unresolved-external-symbol-_getenv_-use-ifport-link-error-for-application-porting-from-unix-to-win32/' rel='bookmark' title='Permanent Link: Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32'>Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/ifort-extend-source-option-errors-fortran-fixed-formatting-use-nofree/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Capture X Protocol Traffic Using Wireshark On Windows XP?</title>
		<link>http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/</link>
		<comments>http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 08:14:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech-Tips]]></category>
		<category><![CDATA[Unix2Win32_Porting]]></category>
		<category><![CDATA[etherial]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=409</guid>
		<description><![CDATA[This is an experiment about use wireshark to capture X protocol traffic Google and the wireshark manual/wiki give no hints (ie. How do you capture DISPLAY=:0.0 traffic ?). Setting wireshark to capture &#8220;local&#8221; (127.0.0.1) or &#8220;any&#8221; devices captured nothing. The remote X11 server doesn&#8217;t support XRandR so it&#8217;s no help. ﻿If you set DISPLAY=localhost:0 then [...]


Related posts:<ol><li><a href='http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp/' rel='bookmark' title='Permanent Link: How To Capture X Protocol Traffic Using Wireshark On Windows XP'>How To Capture X Protocol Traffic Using Wireshark On Windows XP</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is an experiment about <strong><em>use wireshark to capture X protocol traffic</em></strong></p>
<p>Google and the <strong>wireshark manual/wiki</strong> give no hints (ie. How do you capture DISPLAY=:0.0 traffic ?). Setting wireshark to capture &#8220;local&#8221; (127.0.0.1) or &#8220;any&#8221; devices captured nothing. The r<strong>emote X11<br />
server </strong>doesn&#8217;t support XRandR so it&#8217;s no help.</p>
<p>﻿If you set DISPLAY=localhost:0 then the client will use TCP on the<br />
loopback interface and wireshark can capture that. Of course your X<br />
server can&#8217;t be running with &#8220;-nolisten tcp&#8221;, which is default in many<br />
installations. <a href="http://lists.freedesktop.org/archives/xcb/2009-November/005288.html">thanks to Xcb thread discussion</a></p>
<p><strong>Challenges</strong><br />
I want to capture localhost traffic on Windows Xp machine with Wireshark, and it fails.<br />
Did google on it about Is there a way to get wireshark to capture packets sent from/to localhost on Windows?<br />
Got this info from WIKI <a href="http://wiki.wireshark.org/CaptureSetup/Loopback">Loopback capture setup</a><br />
Which says I need to install Loopback adapter and steps here for Microsoft:<a href="http://support.microsoft.com/kb/839013"> How to install the Microsoft Loopback adapter in Windows XP</a></p>
<p>This method did not help much expect able to capture only ARP packets,</p>
<p><strong>Capturing local traffic on Windows XP Route method</strong><br />
&gt; route add 155.132.130.129 mask 255.255.255.255 155.132.130.1 metric 1<br />
where 155.132.130.129 is your local IP, and 155.132.130.1 that of your default gateway. You must have &#8220;Advanced TCP/IP Settings &gt; Automatic metric&#8221; disabled! What it does is basically force each packet intended for localhost to go out to the default gateway first, from which it will come back again. Of course this means you see each packet twice.</p>
<p>===Not directly, but if you are on a network with a gateway, you can use the<br />
command-line ROUTE command to redirect the packets through the gateway, which will bounce the packets back at your machine so Ethereal/Wireshark can capture them.  You can use comview tool. It can fullfil your wish. Wireshark does not use IM driver but it uses protocol driver.</p>
<p>Still digging on <strong>How To Capture X Protocol Traffic Using Wireshark On Windows XP?</strong></p>
Number of View :317

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/&amp;title=How+To+Capture+X+Protocol+Traffic+Using+Wireshark+On+Windows+XP%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+To+Capture+X+Protocol+Traffic+Using+Wireshark+On+Windows+XP%3F+-+http://tinyurl.com/2fhn3hl&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/&amp;t=How+To+Capture+X+Protocol+Traffic+Using+Wireshark+On+Windows+XP%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/&amp;submitHeadline=How+To+Capture+X+Protocol+Traffic+Using+Wireshark+On+Windows+XP%3F&amp;submitSummary=This%20is%20an%20experiment%20about%20use%20wireshark%20to%20capture%20X%20protocol%20traffic%0D%0A%0D%0AGoogle%20and%20the%20wireshark%20manual%2Fwiki%20give%20no%20hints%20%28ie.%20How%20do%20you%20capture%20DISPLAY%3D%3A0.0%20traffic%20%3F%29.%20Setting%20wireshark%20to%20capture%20%22local%22%20%28127.0.0.1%29%20or%20%22any%22%20devices%20captured%20nothing.%20The%20remote%20X11%0D%0Aserver%20doesn%27t%20support%20XR&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/&amp;title=How+To+Capture+X+Protocol+Traffic+Using+Wireshark+On+Windows+XP%3F" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp/' rel='bookmark' title='Permanent Link: How To Capture X Protocol Traffic Using Wireshark On Windows XP'>How To Capture X Protocol Traffic Using Wireshark On Windows XP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/how-to-capture-x-protocol-traffic-using-wireshark-on-windows-xp-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parse error: wp-content/themes/grid_focus/functions.php on line 6</title>
		<link>http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/</link>
		<comments>http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 15:20:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[2010 trial allotment]]></category>
		<category><![CDATA[free download]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[World]]></category>

		<guid isPermaLink="false">http://www.mahol.org/blog/?p=404</guid>
		<description><![CDATA[Parse error: wp-content/themes/grid_focus/functions.php on line 6: Wooo , this error I got, when i tried to add play with functions.php file, I am using gridfocus-wordpress template, Reason Why I was playing with this function is, I did not see any adds when the visitor comes on the pages with under pages TAGS Eg, when visitor [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><strong><em>Parse error: wp-content/themes/grid_focus/functions.php on line 6:</em></strong></p>
<p>Wooo , this error I got, when i tried to add play with<strong> functions.php</strong> file,<br />
I am using gridfocus-wordpress template,<br />
<strong>Reason </strong>Why I was playing with this function is, I did not see any adds when the visitor comes on the pages with under pages TAGS<br />
Eg, when visitor comes on this page,</p>
<p><a href="http://www.google.co.in/url?sa=t&amp;source=web&amp;cd=3&amp;ved=0CBsQFjAC&amp;url=http%3A%2F%2Fwww.mahol.org%2Fblog%2Ftag%2Ftancet2010-rank-list%2F&amp;rct=j&amp;q=www.tancet2010+ranklist&amp;ei=jMAgTKTnJMq_rAeils2AAQ&amp;usg=AFQjCNHBlBTmxJg6AnSOJzv7kgMEet5KxA">from google.co.in</a> on &#8220;<a href="../tag/tancet2010-rank-list/">Posts tagged &#8220;tancet2010-rank-list&#8221; &#8211; Mahol Dot Org</a>&#8221;</p>
<p>I am unable to show the Adds, but it is not problem with visitor comes from <a href="http://www.google.co.in/search?hl=en&amp;source=hp&amp;q=pune+university+mkcl&amp;meta=&amp;aq=f&amp;aqi=g1&amp;aql=&amp;oq=&amp;gs_rfai=">google.co.in</a> on &#8220;<a href="../tips-tricks/www-unipune-ac-in-pune-board-mkcl-results-pune-university-mkcl-pune-university-exam-result/">www.unipune.ac.in | Pune Board | MKCL Results Pune </a></p>
<p>I could not able to locate the place, so thought of playing with <strong> functions.php file</strong><br />
I have just added the new line in this function and boom..<br />
Parse error: wp-content/themes/grid_focus/functions.php on line 6<br />
Nothing is coming up, unable to save the templates as well..<br />
<strong>Solution:</strong><br />
Login to FTP, <a href="http://code.google.com/p/gridfocus-wordpress/downloads/list">download the grid focus template. </a>, and upload the file functions.php in /wp-content/themes/grid_focus.</p>
<p>This saved me, since I did not have taken backup of my blog and just doing changes.</p>
<p>Thanks god I am back. Enjoy</p>
Number of View :264

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/&amp;title=Parse+error%3A+wp-content%2Fthemes%2Fgrid_focus%2Ffunctions.php+on+line+6" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Parse+error%3A+wp-content%2Fthemes%2Fgrid_focus%2Ffunctions.php+on+line+6+-+http://tinyurl.com/29vqyzb&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/&amp;t=Parse+error%3A+wp-content%2Fthemes%2Fgrid_focus%2Ffunctions.php+on+line+6" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/&amp;submitHeadline=Parse+error%3A+wp-content%2Fthemes%2Fgrid_focus%2Ffunctions.php+on+line+6&amp;submitSummary=Parse%20error%3A%20wp-content%2Fthemes%2Fgrid_focus%2Ffunctions.php%20on%20line%206%3A%0D%0A%0D%0AWooo%20%2C%20this%20error%20I%20got%2C%20when%20i%20tried%20to%20add%20play%20with%20functions.php%20file%2C%0D%0AI%20am%20using%20gridfocus-wordpress%20template%2C%0D%0AReason%20Why%20I%20was%20playing%20with%20this%20function%20is%2C%20I%20did%20not%20see%20any%20adds%20when%20the%20visitor%20comes%20on%20the%20pages%20with%20&amp;submitCategory=world_news&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/&amp;title=Parse+error%3A+wp-content%2Fthemes%2Fgrid_focus%2Ffunctions.php+on+line+6" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mahol.org/blog/parse-error-wp-contentthemesgrid_focusfunctions-php-on-line-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: www.mahol.org @ 2012-02-05 08:48:48 -->
