/[projet1]/public/pc/tools/osdk/main/Osdk/_final_/documentation/doc_creating_project.htm
Defence Force logotype

Diff of /public/pc/tools/osdk/main/Osdk/_final_/documentation/doc_creating_project.htm

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

revision 1001 by dbug, Sun May 24 19:53:20 2009 UTC revision 1002 by dbug, Sun Dec 8 10:50:26 2013 UTC
# Line 43  Line 43 
43  <p>those parameters define how the program will be constructed:  <p>those parameters define how the program will be constructed:
44  </p>  </p>
45  <ul>  <ul>
46  <li>the OSDKADDR variable contains the link adress. The default value is $600  <li>the <b>OSDKADDR</b> variable contains the link adress. The default value is $600
47  </li>  </li>
48  <li>the OSDKNAME variable contains the name of the TAP file to generate. The default value is OSDK.  <li>the <b>OSDKNAME</b> variable contains the name of the TAP file to generate. The default value is OSDK.
49  </li>  </li>
50  <li>the OSDKFILE variable contains the list of all files to build. In the example above, the DEMO.TAP program will be made from MAIN.C DISPLAY.S SOUND.S and PACKER.C. As you can see, the extensions are not given. It means that you cannot have two files having the same name but with a different extension.  <li>the <b>OSDKFILE</b> variable contains the list of all files to build. In the example above, the DEMO.TAP program will be made from MAIN.C DISPLAY.S SOUND.S and PACKER.C. As you can see, the extensions are not given. It means that you cannot have two files having the same name but with a different extension.
51  </li>  </li>
52  <li>the OSDKLINK variable contains the list of parameters the linker will receive. The value <b>-B</b> will tell the linker to not automaticaly  <li>the <b>OSDKLINK</b> variable contains the list of parameters the linker will receive. The value <b>-B</b> will tell the linker to not automaticaly
53  happend 'header.s' and 'tail.s' thus giving you full control on how your program will fit in memory. Good for pure assembly code programs.  happend 'header.s' and 'tail.s' thus giving you full control on how your program will fit in memory. Good for pure assembly code programs.
54  </li>  </li>
55  <li>the OSDKCOMP variable contains the list of parameters the compiler will receive.  <li>the <b>OSDKCOMP</b> variable contains the list of parameters the compiler will receive.
56  If you don't fill it, it will be initialized by default to the options -O2.  If you don't fill it, it will be initialized by default to the options -O2.
57  You can try -O3 if you wish more aggresive optimizations (beta test, could produce wrong code)  You can try -O3 if you wish more aggresive optimizations (beta test, could produce wrong code)
58  </li>  </li>
59  </ul>  </ul>
60    
61    <p>The OSDK also support some other variables, here they are for exaustivity:
62    </p>
63    
64    <ul>
65    <li>the <b>OSDKDOSBOX</b> variable contains the location of DOSBOX if it is installed. You need that only if you are trying to use Euphoric on a recent machine.
66    </li>
67    <li>the <b>OSDKTAPNAME</b> variable contains the name of the loaded program inside the TAP file (the one that appears in the Oric status bar). The default value is OSDK.
68    </li>
69    <li>the <b>OSDKBRIEF</b> variable if empty automatically insert pauses on the build process and show verbosity messages (default), else it will quit without pausing and show less verbosity.
70    </li>
71    <li>the <b>OSDKHEAD</b> variable content is passed to HEADER.EXE. The value <b>-S1</b> will tell it to show the size of the final executable (practical when writing 256 bytes intros).
72    </li>
73    </ul>
74    
75    
76    <p>And internally during the Build time the OSDK defines some other variables from the existing ones:
77    </p>
78    
79    <ul>
80    <li>the <b>OSDKB</b> variable contains the location of the executable folder (%OSDK%\BIN)
81    </li>
82    <li>the <b>OSDKT</b> variable contains the location of the tempory folder (%OSDK%\TMP)
83    </li>
84    </ul>
85    
86    
87    
88  <p>The only thing you have to made, is edit this file to make it reflect your needs.  <p>The only thing you have to made, is edit this file to make it reflect your needs.
89  </p>  </p>
90    

Legend:
Removed from v.1001  
changed lines
  Added in v.1002

  ViewVC Help
Powered by ViewVC 1.1.26