+
+This is a short intro, how to use the compiler and the binutils. It contains a
+step-by-step example, how to build a complete application from one C and one
+assembler module. This file does Note: There is a much simpler way to compile this example using the
+cl65 compiler and link utility. However, it makes sense to understand how the
+separate steps work. How to do the example with the cl65 utility is described
+.
+
+
+
+
+To explain the development flow, I will use the following example modules:
+
+hello.c:
+
+
+
+We assume that the target file should be named "hello", and the target system
+is the C64.
+
+
+
+The compiler translates one C source into one assembler source for each
+invocation. It does
+
+The assembler translates one assembler source into an object file for each
+invocation. The assembler is
+
+The linker combines several object and library file into one output file. ld65
+is very configurable, but fortunately has a builtin configuration for the C64,
+so we don't need to mess with configuration files here.
+
+The compiler uses small functions to do things that cannot be done inline
+without big impact on code size. These runtime functions, together with the C
+library are in an object file archive named after the system, in this case
+"
+ #include
+ .export _text
+ _text: .asciiz "Hello world!"
+