Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
need help creating install package for SIMPL open source project
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="bobicanprogram" data-source="post: 1206567" data-attributes="member: 195399"><p><strong>Bingo found the shm problem</strong></p><p></p><p>This version of SIMPL compiles and runs on the Mac.</p><p></p><p><a href="http://icanprogram.ca/simpl/simpl.self.html" target="_blank">SIMPL Self Installing Archive</a></p><p></p><p>It turns out that in Linux you can attach to a shared memory segment that has been marked for destruction (once the last process detaches from it). However, on the Mac this is not permitted. This note buried in the shmctl documentation was the clue:</p><p></p><p>========= begin quote =========</p><p>Linux permits a process to attach (shmat()) a shared memory segment that has </p><p>already been marked for deletion using shmctl(IPC_RMID). This feature is not </p><p>available on other Unix implementations; portable applications should avoid </p><p>relying on it.</p><p>========= end quote ==========</p><p></p><p>At this point I still need help with my original problem which was to build an installable package for this stuff the Mac way.</p><p></p><p>Thanks.</p><p></p><p>bob</p></blockquote><p></p>
[QUOTE="bobicanprogram, post: 1206567, member: 195399"] [b]Bingo found the shm problem[/b] This version of SIMPL compiles and runs on the Mac. [url=http://icanprogram.ca/simpl/simpl.self.html]SIMPL Self Installing Archive[/url] It turns out that in Linux you can attach to a shared memory segment that has been marked for destruction (once the last process detaches from it). However, on the Mac this is not permitted. This note buried in the shmctl documentation was the clue: ========= begin quote ========= Linux permits a process to attach (shmat()) a shared memory segment that has already been marked for deletion using shmctl(IPC_RMID). This feature is not available on other Unix implementations; portable applications should avoid relying on it. ========= end quote ========== At this point I still need help with my original problem which was to build an installable package for this stuff the Mac way. Thanks. bob [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
need help creating install package for SIMPL open source project
Top