1 # General Support: Linux
5 # Wide variety of libraries
7 Linux offers an extremely wide variety of libraries and C runtimes. SquirrelJME
8 will have to detect the correct C library and use it accordingly. This would
9 for example be better than using systems calls and such. For example, using
10 `gethostbyname` with a system call directly would not use the libraries listed
11 in `/etc/nsswitch.conf` which would be bad for integration. However, C
12 libraries are potentially not 100% compatible with each other, so this would
13 be interesting to figure out. Generally though for architectures, the C
14 libraries should hopefully be compatible with each other. As an idea, I can
15 wrap and catch errors made in the standard library for example if calling
16 some code crashes, I can catch the signal for say segmentation fault and then
17 just generate an exception for it.