{"action":"opened","issue":{"url":"https://api.github.com/repos/sol-lang/sol/issues/23","labels_url":"https://api.github.com/repos/sol-lang/sol/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/sol-lang/sol/issues/23/comments","events_url":"https://api.github.com/repos/sol-lang/sol/issues/23/events","html_url":"https://github.com/sol-lang/sol/issues/23","id":124843580,"number":23,"title":"Switch POSIX/C runtime APIs in preprocessor","user":{"login":"Grissess","id":1500742,"avatar_url":"https://avatars.githubusercontent.com/u/1500742?v=3","gravatar_id":"","url":"https://api.github.com/users/Grissess","html_url":"https://github.com/Grissess","followers_url":"https://api.github.com/users/Grissess/followers","following_url":"https://api.github.com/users/Grissess/following{/other_user}","gists_url":"https://api.github.com/users/Grissess/gists{/gist_id}","starred_url":"https://api.github.com/users/Grissess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grissess/subscriptions","organizations_url":"https://api.github.com/users/Grissess/orgs","repos_url":"https://api.github.com/users/Grissess/repos","events_url":"https://api.github.com/users/Grissess/events{/privacy}","received_events_url":"https://api.github.com/users/Grissess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-04T21:29:29Z","updated_at":"2016-01-04T21:29:29Z","closed_at":null,"body":"I'd really like to make this a little easier to port to different places; I think the current problem is going to be making sure we can switch on/off (with preprocessor macros) the building of certain operations/sections of code that depend heavily on platform- or runtime-dependent libraries (like libc or libdl).\r\n\r\nThe only problem with doing so is that I don't have any other targets well in mind to provide an alternative; may I provide a suggestion for a bare-bones system, like a binary for the PDP-11, or a silly little kernel for x86? Switching targets in the C compiler would probably be the easiest way to detect platform-unsafe operations."}}