mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 20:09:43 +01:00
compiler_vm: updated README example to use single quotes correctly
This commit is contained in:
parent
5e9fbf1d16
commit
be8c03ba27
@ -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.
|
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,
|
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;
|
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!
|
it will affect local system -- compile "safe" code!
|
||||||
|
Loading…
Reference in New Issue
Block a user