<p dir="ltr">> Do you have any advice to make the code work both under Apple and GNU gcc?</p>
<p dir="ltr">The leading underscore for external symbols is standard, if that's what you're referring to. <a href="http://en.m.wikipedia.org/wiki/Underscore#Origins_in_identifiers">http://en.m.wikipedia.org/wiki/Underscore#Origins_in_identifiers</a></p>