/[cmucl]/src/BUILDING
ViewVC logotype

Diff of /src/BUILDING

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by rtoy, Tue Jan 24 17:13:32 2006 UTC revision 1.14 by rtoy, Tue Jan 24 19:51:45 2006 UTC
# Line 635  same file system, via NFS or something e Line 635  same file system, via NFS or something e
635     x86/linux is in src/tools/cross-scripts/cross-ppc-x86.lisp.     x86/linux is in src/tools/cross-scripts/cross-ppc-x86.lisp.
636    
637  3. Build the cross compiler and target, as above, using the specified  3. Build the cross compiler and target, as above, using the specified
638     cross-compile script.     cross-compile script:
639    
640            src/tools/cross-build-world.sh x86-target x86-cross cross.lisp [ppc binary]
641    
642       where cross.lisp is the cross-compile script from 2) above.
643    
644  4. Everything has now been compiled for the x86/linux target.  We need  4. Everything has now been compiled for the x86/linux target.  We need
645     to compile the C code for x86 and create a lisp.core from the     to compile the C code for x86 and create a lisp.core from the
# Line 647  same file system, via NFS or something e Line 651  same file system, via NFS or something e
651     Note carefully that you may have to edit lisp/internals.h and/or     Note carefully that you may have to edit lisp/internals.h and/or
652     lisp/internals.inc to have the correct features.  This is a known     lisp/internals.inc to have the correct features.  This is a known
653     bug in the generation of these files during cross-compilation.     bug in the generation of these files during cross-compilation.
654    
655       Compile the lisp code:
656    
657            src/tools/rebuild-lisp.sh x86-target
658    
659  5. Now run load-world.sh to create the desired lisp.core from lisp and  5. Now run load-world.sh to create the desired lisp.core from lisp and
660     kernel.core.  As above, PCL has not been compiled, so select     kernel.core.  As above, PCL has not been compiled, so select
661     restart 3 (return nil from pclload) to create lisp.core     restart 3 (return nil from pclload) to create lisp.core
662    
663            src/tools/load-world.sh x86-target "new x86"
664    
665  At this point, you will have a shiny new lisp on the new platform.  At this point, you will have a shiny new lisp on the new platform.
666  Since it's missing PCL, you will need to do at least one normal build  Since it's missing PCL, you will need to do at least one normal build
667  to get PCL included.  This is also a good check to see if everything  to get PCL included.  This is also a good check to see if everything
668  was compiled properly.  A full set of builds via build.sh might be  was compiled properly.  A full set of builds via build.sh might be
669  good at this point too.  good at this point too.
670    
671    
672    
673    
674    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.5