4 ms·
In the first case, you are likely going to have a libc and headers from the target platform sitting around so that you can link.
by koenigdavidmj 16y ago
In the first case, you are likely going to have a libc and headers from the target platform sitting around so that you can link.
- JoeAltmaier 16y agoMay take switches on the compiler command line. Further, packing can depend upon the pragma in force when the header file is included. How to set up that environment?
- wingo 16y agoYou know, the whole dynamic FFI world is very much seatbelts-off, which is initially quite disconcerting. Usually I rely on my distro to ensure compatibility, but once you start saying "this syscall gives me a pointer to memory which should be interpreted as two ints, one char, and a float, packed conventionally" you begin to realize what exactly are the interfaces between various bits on your system. For better and for worse of course. What Guile has now is the "list-all-members-in-the-struct" approach that Klock discourages. It's the difference between API and ABI compatibility. I'd like to figure out how to do the former. A