ObjFW  Check-in [9b97ecf181]

Overview
Comment:README.md: Add instructions for writing an app
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9b97ecf181d43177be364b97881293db88dd8c5e2fbe296f73a412dfb990987c
User & Date: js on 2019-02-03 11:04:09
Other Links: manifest | tags
Context
2019-02-03
11:31
README.md: Add a table of contents check-in: 7f6c2d7e88 user: js tags: trunk
11:04
README.md: Add instructions for writing an app check-in: 9b97ecf181 user: js tags: trunk
10:57
README.md: Add instructions for more platforms check-in: b8da71a4a0 user: js tags: trunk
Changes

Modified README.md from [86f42025ff] to [527f2cf625].

152
153
154
155
156
157
158























159
160
161
162
163
164
165
-----

  Install [amiga-gcc](https://github.com/bebbo/amiga-gcc). Then follow the
  normal process, but instead of `./configure` run:

    $ ./configure --host=m68k-amigaos

























Bugs and feature requests
=========================

  If you find any bugs or have feature requests, feel free to send a mail to
  js@heap.zone!








>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
-----

  Install [amiga-gcc](https://github.com/bebbo/amiga-gcc). Then follow the
  normal process, but instead of `./configure` run:

    $ ./configure --host=m68k-amigaos


Writing your first application with ObjFW
=========================================

  To create your first, empty application, you can use `objfw-new`:

    $ objfw-new app MyFirstApp

  This creates a file `MyFirstApp.m`. The `-[applicationDidFinishLaunching]`
  method is called as soon as ObjFW finished all initialization. Use this as
  the entry point to your own code. For example, you could add the following
  line there to create a "Hello World":

    [of_stdout writeLine: @"Hello World!"];

  You can compile your new app using `objfw-compile`:

    $ objfw-compile -o MyFirstApp MyFirstApp.m

  `objfw-compile` is a tool that allows building applications and libraries
  using ObjFW without needing a full-blown build system. If you want to use
  your own build system, you can get the necessary flags from `objfw-config`.


Bugs and feature requests
=========================

  If you find any bugs or have feature requests, feel free to send a mail to
  js@heap.zone!