Slide 67
Slide 67 text
Binary C Code (*.c)
$ mruby/bin/mrbc -o hello_world.c -
Bhello_world hello_world.rb
$ cat hello_world.c
/* dumped in little endian order.
use `mrbc -E` option for big endian CPU. */
#include
const uint8_t
#if defined __GNUC__
__attribute__((aligned(4)))
#elif defined _MSC_VER
__declspec(align(4))
#endif
hello_world[] = {
0x45,0x54,0x49,0x52,0x30,0x30,0x30,0x33,0xcb,0xa4,0x00,
0x00,0x00,0x65,0x4d,0x41,...};
This is an FYI
No need to read this
C code