I have compiled ruby 3.2.2 vm using gcc with the following command:
```
gcc -std=c23 -o test test.c -g -Wall -Wextra -Woverflow -Og -pedantic -Wno-unused-parameter -I/home/user/.rbenv/versions/3.2.2/include/ruby-3.2.0 -I/home/user/.rbenv/versions/3.2.2/include/ruby-3.2.0/x86_64-linux -L/home/user/.rbenv/versions/3.2.2/lib -Wl,-rpath,/home/user/.rbenv/versions/3.2.2/lib -lruby
```
This works for the most part (I can successfully init the vm and run ruby code).
Though, when I tried to handle ruby exceptions within my C code I find out that
the `exc_message(VALUE exc)` is a static symbol inside [error.c][1]. I can not
see it being exported anywhere.
Is there something more then ruby.h header that I need to include to access
this function from C?
[1]: https://github.com/ruby/ruby/blob/69c0b1438a45938e79e63407035f116de4634dcb/error.c#L1670C1-L1670C12
Daniel Sierpiński