red build libred
this will result in these files created in the directory:
libRed.dylib 847872
libRed/
libRed.def 596
libRed.lib 11650
libRed.red 21194
red.h 4927
#include "red.h"
int main() {
redOpen();
redPrint(redString("Hello World!"));
redClose();
return 0;
}
gcc -arch i386 test.c -Ilibred -L. -lRed -o test
./test
should print "Hello world"