compiling_the_midibox_source_on_linux
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| compiling_the_midibox_source_on_linux [2007/01/13 14:40] – added link to forum entry with perl script audiocommander | compiling_the_midibox_source_on_linux [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== About this document ====== | ||
| - | For all assembler-based applications, | ||
| - | Thanks to svens for sharing this! | ||
| - | :!: \\ | ||
| - | **Note**:  | ||
| - | for Mac OS X this script is not working.\\ | ||
| - | Please refer to this forum thread: http:// | ||
| - | |||
| - | There is a **Perl script** downloadable that does a batch conversion of these Macros. Changes are good it'll work with Linux, too. Though it won't probably work with all available ASM-coded applications (and is still in development). | ||
| - | |||
| - | |||
| - | ====== Compiling MIOS on Linux ====== | ||
| - | If you ever tried to compile the MIOS source with gpasm on Linux, you've probably got a lot of errormessages like: | ||
| - | |||
| - |   svens@deprecated(1033)[0]: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - |   mios_isr.inc: | ||
| - | |||
| - | These errors are caused by a nice Feature from mpasm -- you can pass instructions as Macro argument. Unfortunately, | ||
| - | |||
| - | replace-macros.sed: | ||
| - | |||
| - | 1i;hey emacs, this is -*- asm -*- | ||
| - | /^[ \t]*;/b #skip commented line | ||
| - |   / | ||
| - |   s/ | ||
| - |   s/ | ||
| - |   s/ | ||
| - |   s/ | ||
| - |   s/ | ||
| - |   s/ | ||
| - |   s/ | ||
| - |   s/ | ||
| - | |||
| - | fix-gpasm.sh: | ||
| - | |||
| - | #!/bin/sh | ||
| - |    | ||
| - |   for i in src/*.inc src/*.asm src/ | ||
| - |       tr -d ' | ||
| - | done | ||
| - | |||
| - | |||
| - | Now you can run ./ | ||
compiling_the_midibox_source_on_linux.1168699210.txt.gz · Last modified: 2008/04/10 13:49 (external edit)
                
                