{"action":"created","issue":{"url":"https://api.github.com/repos/modula3/cm3/issues/13","repository_url":"https://api.github.com/repos/modula3/cm3","labels_url":"https://api.github.com/repos/modula3/cm3/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/modula3/cm3/issues/13/comments","events_url":"https://api.github.com/repos/modula3/cm3/issues/13/events","html_url":"https://github.com/modula3/cm3/issues/13","id":156018981,"number":13,"title":"New release for Mac OS X, please?","user":{"login":"Clemens-H","id":7406820,"avatar_url":"https://avatars.githubusercontent.com/u/7406820?v=3","gravatar_id":"","url":"https://api.github.com/users/Clemens-H","html_url":"https://github.com/Clemens-H","followers_url":"https://api.github.com/users/Clemens-H/followers","following_url":"https://api.github.com/users/Clemens-H/following{/other_user}","gists_url":"https://api.github.com/users/Clemens-H/gists{/gist_id}","starred_url":"https://api.github.com/users/Clemens-H/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clemens-H/subscriptions","organizations_url":"https://api.github.com/users/Clemens-H/orgs","repos_url":"https://api.github.com/users/Clemens-H/repos","events_url":"https://api.github.com/users/Clemens-H/events{/privacy}","received_events_url":"https://api.github.com/users/Clemens-H/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-05-20T18:04:14Z","updated_at":"2016-05-20T20:29:44Z","closed_at":null,"body":"Hi, first, thanks for the great work!  I installed the latest release for Mac OS X (d5.10.0) and tried to compile a simple program.\r\n\r\nUnfortunately, there are a few problems (assuming I use cm3 correctly).\r\n\r\nFirst, I had to remove \"& SL\" in cm3.cfg, see below.\r\n\r\nSecond, cm3 fails to find .M3EXPORTS because of a missing slash between bin and .. in the path, see below.\r\n\r\nWould you please make a new release for Mac OS X?\r\n\r\nCheers,\r\nClemens\r\n\r\n==========\r\n\r\n$ cat Main.m3\r\nMODULE Main;\r\n\r\nIMPORT IO;\r\n\r\nVAR name: TEXT;\r\n\r\nBEGIN\r\n  IO.Put(\"Enter your name: \");\r\n  name := IO.GetLine();\r\n  IO.Put(\"Hello \" & name & \"!\\n\");\r\nEND Main.\r\n\r\n==========\r\n\r\n$ ~/src/cm3-installed/bin/cm3\r\n--- building in AMD64_DARWIN ---\r\n\r\nquake runtime error: \"/Users/Clemens/src/cm3-installed/bin/cm3.cfg\", line 2: quake runtime error: undefined variable: SL\r\n\r\n--procedure--  -line-  -file---\r\n                    2  /Users/Clemens/src/cm3-installed/bin/cm3.cfg\r\nnew source -> compiling Main.m3\r\n\"../Main.m3\", line 9: warning: potentially unhandled exception: IO.Error\r\n1 warning encountered\r\nMain.ms:1:9: error: unsupported directive '.stabs'\r\n        .stabs  \"/Users/Clemens/Languages/Modula3/Hello/AMD64_DARWIN/\",100,0,0,Ltext0\r\n                ^\r\nMain.ms:2:9: error: unsupported directive '.stabs'\r\n        .stabs  \"Main.mc\",100,0,0,Ltext0\r\n                ^\r\nMain.ms:5:9: error: unsupported directive '.stabs'\r\n        .stabs  \"gcc2_compiled.\",60,0,0,0\r\n                ^\r\nMain.ms:6:9: error: unsupported directive '.stabs'\r\n        .stabs  \"procedures_have_extra_block.\",60,0,0,0\r\n                ^\r\nMain.ms:7:9: error: unsupported directive '.stabs'\r\n        .stabs  \"m3_widechar_bitsize_16.\",60,0,0,0\r\n                ^\r\nMain.ms:11:2: error: unknown directive\r\n        .stabd  46,0,0\r\n        ^\r\nMain.ms:12:9: error: unsupported directive '.stabs'\r\n        .stabs  \"../Main.m3\",132,0,0,Ltext1\r\n                ^\r\nMain.ms:14:2: error: unknown directive\r\n        .stabd  68,0,7\r\n        ^\r\nMain.ms:24:2: error: unknown directive\r\n        .stabd  68,0,7\r\n        ^\r\nMain.ms:29:2: error: unknown directive\r\n        .stabd  68,0,8\r\n        ^\r\nMain.ms:33:2: error: unknown directive\r\n        .stabd  68,0,9\r\n        ^\r\nMain.ms:41:2: error: unknown directive\r\n        .stabd  68,0,10\r\n        ^\r\nMain.ms:84:9: error: unsupported directive '.stabs'\r\n        .stabs  \"Main_M3:F(0,1)=*(0,2)=(0,2)\",36,0,7,_Main_M3\r\n                ^\r\nMain.ms:85:9: error: unsupported directive '.stabs'\r\n        .stabs  \"mode:p(0,3)=@s64;r(0,3);01000000000000000000000;0777777777777777777777;\",160,0,0,-40\r\n                ^\r\nMain.ms:86:2: error: unknown directive\r\n        .stabn  192,0,0,LFBB1\r\n        ^\r\nMain.ms:87:2: error: unknown directive\r\n        .stabn  192,0,0,LBB2\r\n        ^\r\nMain.ms:88:2: error: unknown directive\r\n        .stabn  224,0,0,LBE2\r\n        ^\r\nMain.ms:89:2: error: unknown directive\r\n        .stabn  224,0,0,Lscope1\r\n        ^\r\nMain.ms:91:9: error: unsupported directive '.stabs'\r\n        .stabs  \"\",36,0,0,Lscope1-LFBB1\r\n                ^\r\nMain.ms:92:2: error: unknown directive\r\n        .stabd  78,0,0\r\n        ^\r\nMain.ms:149:9: error: unsupported directive '.stabs'\r\n        .stabs  \"L_1:S(0,4)=s200;\",38,0,0,_L_1\r\n                ^\r\nMain.ms:150:9: error: unsupported directive '.stabs'\r\n        .stabs  \"MM_Main:S(0,5)=s184;\",38,0,0,_MM_Main\r\n                ^\r\nMain.ms:201:9: error: unsupported directive '.stabs'\r\n        .stabs  \"\",100,0,0,Letext0\r\n                ^\r\n  assemble => 1\r\nassembler failed assembling: Main.ms\r\ncompilation failed => not building program \"prog\"\r\nFatal Error: package build failed\r\n\r\n==========\r\n\r\n$ ~/src/cm3-installed/bin/cm3 Main.m3\r\n--- building in AMD64_DARWIN ---\r\n\r\n\"/Users/Clemens/Languages/Modula3/Hello/AMD64_DARWIN/m3make.args\", line 5: quake runtime error: unable to open \"/Users/Clemens/src/cm3-installed/bin../pkg/libm3/AMD64_DARWIN/.M3EXPORTS\" for reading\r\n\r\n--procedure--  -line-  -file---\r\nimport             --  <builtin>\r\n                    5  /Users/Clemens/Languages/Modula3/Hello/AMD64_DARWIN/m3make.args\r\n\r\nFatal Error: package build failed\r\n"},"comment":{"url":"https://api.github.com/repos/modula3/cm3/issues/comments/220710803","html_url":"https://github.com/modula3/cm3/issues/13#issuecomment-220710803","issue_url":"https://api.github.com/repos/modula3/cm3/issues/13","id":220710803,"user":{"login":"darko20","id":4245742,"avatar_url":"https://avatars.githubusercontent.com/u/4245742?v=3","gravatar_id":"","url":"https://api.github.com/users/darko20","html_url":"https://github.com/darko20","followers_url":"https://api.github.com/users/darko20/followers","following_url":"https://api.github.com/users/darko20/following{/other_user}","gists_url":"https://api.github.com/users/darko20/gists{/gist_id}","starred_url":"https://api.github.com/users/darko20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darko20/subscriptions","organizations_url":"https://api.github.com/users/darko20/orgs","repos_url":"https://api.github.com/users/darko20/repos","events_url":"https://api.github.com/users/darko20/events{/privacy}","received_events_url":"https://api.github.com/users/darko20/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T20:29:44Z","updated_at":"2016-05-20T20:29:44Z","body":"It's putting all the libraries into the executable, so check its file size\nto see if it's working. If you've fixed the path you won't notice any other\ndifference between the two.\n\nOn Fri, May 20, 2016 at 10:26 PM, Clemens Heitzinger <\nnotifications@github.com> wrote:\n\n> Nice, thanks, I can run it with DYLD_LIBRARY_PATH.\n>\n> Now my m3makefile looks like this:\n>\n> import(\"libm3\")\n> implementation(\"Hello\")\n> build_standalone()\n> program(\"hello\")\n>\n> But build_standalone() doesn't seem to have any effect...\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/modula3/cm3/issues/13#issuecomment-220710173>\n>\n"}}
{"actor":{"display_login":"darko20"}}