3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

compiler_vm: updated README example to use single quotes correctly

This commit is contained in:
Pragmatic Software 2011-02-01 03:06:38 +00:00
parent f35874b6ea
commit 5e9fbf1d16

View File

@ -10,7 +10,7 @@ without installing qemu. No PBot installation or configuration is required in t
To use the local non-vm 'cc' script, you will need to have gcc, gdb and astyle installed locally.
Be aware that you need to single-quote or escape the code if you use the local 'cc' within a shell,
e.g.: ./cc 'char s[] = "hello, world"; puts(s); if(s[0] == \'h\') puts("true");'
e.g.: ./cc $'char s[] = "hello, world"; puts(s); if(s[0] == 'h') puts("true");'
WARNING: Using the local 'cc' script outside of the virtual machine will not use qemu at all;
it will affect local system -- compile "safe" code!