Skip to content
Snippets Groups Projects
build-p690 902 B
Newer Older
  • Learn to ignore specific revisions
  • Douglas Guptill's avatar
    Douglas Guptill committed
    Build recipe for the p690
    
    Author: Douglas Guptill
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    Date: 2009-07-14, 15
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # Edit Makefile.p690
    #
    # a quirk, make will fail otherwise.
    touch Makefile.deps
    # install the Makefile specialization for the p690.
    make p690
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # The default xlf compiler is version 8.1.  
    # It is not up to the task of compiling douar
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    PATH=/usr/xlf-10.1/usr/bin:${PATH}
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # WSMP wants this.
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    export OBJECT_MODE=64
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # install the latest version of define_bc
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    make bc_20090710
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # build douar.
    make
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    #
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # The link will fail if the -extchk option is still there.
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    #
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # look at the ouput
    make more-output
    # remove -extchk from FFLAGS and CFLAGS in Makefile.p690
    # install the editted Makefile.p690
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    make p690
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # remove all the  object files and libraries created by the previous make
    make distclean
    # build douar again
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    make
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    #
    # After a successful compile and link....
    #
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # Look at the build output
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    make more-output
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    # install the binary
    
    Douglas Guptill's avatar
    Douglas Guptill committed
    make install