OS Specific Toolchain: Difference between revisions

Instruct gcc to provide stdint.h
[unchecked revision][unchecked revision]
(Add information on how to enable dynamic linking)
(Instruct gcc to provide stdint.h)
Line 165:
gnu_ld=yes
default_use_cxa_atexit=yes
use_gcc_stdint=wrap
;;
</source>
 
This* states that'''gas=yes''' our operating system by default uses the GNU linker and assembler and that we will provide __cxa_atexit (you will need to provide this in your standard library).
* '''gnu_ld=yes''' out operating system by default uses the GNU linker
* '''default_use_cxa_atexit=yes''' We will provide ''__cxa_atexit'' (You will need to provide this in your standard library)
* '''use_gcc_stdint=wrap''' This instructs gcc to provide you with a ''stdint.h'' appropiate for your target
 
The second section we need to add to is the architecture-specific one. Find the '<tt>case ${target} in</tt>' line just before '<tt>tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h"</tt>' (around line 886) and add something like:
Anonymous user