[M3devel] AMD64_DARWIN with OSX Mavericks

Dragiša Durić dragisha at m3w.org
Thu Nov 14 12:14:34 CET 2013


I will, time permitting :). 

Right now, working recipe is - Xcode 4.6.3 downgrade, alreay mentioned command line utils installed. It works like it always had.
--
Dragiša Durić
dragisha at m3w.org



On 14 Nov 2013, at 04:04, Jay <jay.krell at cornell.edu> wrote:

> Try the C backed?
> 
> 
> Edit the g/stabs flag in the config file?
> 
> 
>  - Jay
> 
> On Nov 13, 2013, at 10:27 AM, Dragiša Durić <dragisha at m3w.org> wrote:
> 
>> After Xcode 5.0.2 install, it works no more :)
>> 
>> new source -> compiling Main.m3
>> clang: warning: argument unused during compilation: '-fPIC'
>> Main.ms:1:9: error: unsupported directive '.stabs'
>>         .stabs  "/Users/dragisha/m3/eratosthenes/AMD64_DARWIN/",100,0,0,Ltext0
>>                 ^
>> 
>> --
>> Dragiša Durić
>> dragisha at m3w.org
>> 
>> 
>> 
>> On 13 Nov 2013, at 11:25, Dragiša Durić <dragisha at m3w.org> wrote:
>> 
>>> Site is https://developer.apple.com/downloads, package is named “Command Line Tools (OS X Mavericks) for Xcode - Late October Oct 22, 2013”  and cm3 I’ve used since Snow Leopard, all through Lion… works again without previous hack.
>>> 
>>> Xcode I have installed is version 4.6.x, and cm3 works as always.
>>> --
>>> Dragiša Durić
>>> dragisha at m3w.org
>>> 
>>> 
>>> 
>>> On 13 Nov 2013, at 11:08, Dragiša Durić <dragisha at m3w.org> wrote:
>>> 
>>>> There is probably easier solution, I am installing command line devel tools right now and then I will try to simplify this.
>>>> --
>>>> Dragiša Durić
>>>> dragisha at m3w.org
>>>> 
>>>> 
>>>> 
>>>> On 13 Nov 2013, at 10:53, Jay K <jay.krell at cornell.edu> wrote:
>>>> 
>>>>> Is that really needed?
>>>>> 
>>>>> Doesn't this work?
>>>>> 
>>>>> hello.c:
>>>>> #include <stdio.h>
>>>>> int main() { return !!printf("hello\n"); }
>>>>> 
>>>>> cc hello.c
>>>>> 
>>>>> If that works, gradually expand it to reference more symbols, i.e. pthreads, the mach suspend/resume/getcontext functions (see m3-libs/m3core/src/thread/PTHREAD/ThreadApple.c or such)
>>>>> 
>>>>>  - Jay
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Subject: Re: [M3devel] AMD64_DARWIN with OSX Mavericks
>>>>> From: dragisha at m3w.org
>>>>> Date: Wed, 13 Nov 2013 10:03:15 +0100
>>>>> CC: m3devel at elegosoft.com
>>>>> To: jay.krell at cornell.edu
>>>>> 
>>>>> I will bootstrap new version(s) as per your instructions ASAP, but until then, this is a change I made to config/Darwin.common
>>>>> 
>>>>> SYSTEM_LIBS = {
>>>>>   "LIBC"       : [ "-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib",
>>>>>                    "-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib/system"
>>>>>                  ],
>>>>>   "LEX-YACC"   : [ "-ll" ],
>>>>>   "FLEX-BISON" : [ "-lfl" ],
>>>>>   "OPENGL"     : [ "-Wl,-dylib_file," & LIBGL_DYLIB & ":" & LIBGL_DYLIB,
>>>>>                    "-L/usr/X11R6/lib", "-lGLU", "-lGL", "-lXext" ],
>>>>>   "TCP"        : [ ]
>>>>> % below: X11, ODBC, POSTGRES95, MOTIF
>>>>> }
>>>>> 
>>>>> My current AMD64_DARWIN configuration continues to work.
>>>>> --
>>>>> Dragiša Durić
>>>>> dragisha at m3w.org
>>>>> 
>>>>> 
>>>>> 
>>>>> On 11 Nov 2013, at 08:09, Jay K <jay.krell at cornell.edu> wrote:
>>>>> 
>>>>> I'm still hanging back on a version that supports PowerPC/Rosetta.  :) 
>>>>> 
>>>>>  Our system is very portable. 
>>>>>   Consider helloWorld. And users of pthreads (or Win32 threads).  
>>>>> 
>>>>>  And we hope/trust Apple and co. to maintain a certain level of compatibility. 
>>>>> 
>>>>>  For example. the HPUX man pages decree that get/set/make/swapcontext may 
>>>>>   not be compatible across releases. We use them, sometimes, for user threads only. 
>>>>> 
>>>>> 
>>>>> If you find there is any problem, please let us know.
>>>>> Anything you find is likely surmountable by a cross build.
>>>>> 
>>>>> 
>>>>>  - Jay
>>>>> 
>>>>> ________________________________
>>>>> From: dragisha at m3w.org 
>>>>> Date: Sun, 10 Nov 2013 18:48:22 +0100 
>>>>> To: m3devel at elegosoft.com 
>>>>> Subject: [M3devel] AMD64_DARWIN with OSX Mavericks 
>>>>> 
>>>>> Anybody doing it? 
>>>>> 
>>>>> TIA, 
>>>>> -- 
>>>>> Dragiša Durić 
>>>>> dragisha at m3w.org<mailto:dragisha at m3w.org>
>>>> 
>>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131114/3bf67a22/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131114/3bf67a22/attachment-0002.sig>


More information about the M3devel mailing list