*scratch*

It is not a diary the most people have rather a *scratch* Emacs buffer. It keeps notes about everything related to Linux, Open Source, UNIX, MacOSX and software engineering.

Saturday, February 12, 2005

 

AIX linker & compiler useful flags

Dynamic linker flags:

export LDR_CNTRL=MAXDATA=0x80000000
start_process_here
unset LDR_CNTRL

IBM VA C/C++ flags:

-qsource creates .lst file right after CPP.
-qshowinc prints the list of header files included.
-bsmap:my_name_of_map_file creates a log of all mapped symbols, sorted
-bmap:my_name_of_map_file creates a log of all mapped symbols, unsorted
-bsxref:my_name_of_cross_ref creates a log of all cross referenced symbols, sorted
-bxref:my_name_of_cross_ref creates a log of all cross referenced symbols, unsorted
-bscalls:my_name_of_calls_ref creates a log of calls aka reverse cross references, unsorted
-bcalls:my_name_of_calls_ref creates a log of calls aka reverse cross references, sorted

/usr/include/syms.h has macro defintions and explains the content of log files produced by the commands shown above.

Comments: Post a Comment

<< Home

Archives

December 2004   January 2005   February 2005   March 2005   May 2005   July 2005   October 2005   January 2006   March 2006   May 2006   July 2006   December 2006   January 2007   February 2007   May 2007   July 2007   November 2007   January 2008   February 2008   July 2008   August 2008   September 2008   November 2008   April 2009  

This page is powered by Blogger. Isn't yours?