Wiki
Show
Ignore:
Timestamp:
09/21/08 16:44:49 (4 years ago)
Author:
Chuck.Esterbrook
Message:

Added more notes on building and updating the system. Mention the -turbo option.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Developer/ImplementationNotes.text

    r1565 r1625  
    4848# or on Unix-like systems: 
    4949testify ../Tests/100-basics 
     50 
     51Note that -bsl is an abbreviation for -build-standard-library. 
     52 
     53To update the system: 
     54 
     55cd Workspace-Foo 
     56svn up 
     57cd Source 
     58comp 
     59cobra hello 
     60cobra -bsl 
     61cobra -ert:no hello 
     62 
     63Or if you are already in the Source directory: 
     64 
     65cd .. 
     66svn up 
     67cd Source 
     68comp 
     69cobra hello 
     70cobra -bsl 
     71cobra -ert:no hello 
     72 
     73 
     74The -turbo option excludes all contracts, asserts, nil checks and unit tests. It also turns on optimization. If you're building Cobra just to have the latest (as opposed to doing development) you may wish to build with this option: 
     75 
     76comp -turbo 
     77cobra -bsl -turbo 
    5078 
    5179