[M3devel] m3cc build fails on older MacOS X

Darko darko at darko.org
Wed Oct 1 09:10:35 CEST 2008


Why bother with it if no one uses it and no-one is going to use it?  
Supporting M3 on Macs is good because people will use it into the  
future. People aren't moving back to 10.3. I wouldn't bother with it  
at all.

On 01/10/2008, at 9:02 AM, Jay wrote:

>
> well, I agree and disagree.
>
> "Almost everyone" only cares about C++, C#, Windows, and a little  
> bit of Linux and Java.
> "Almost nobody" cares about Modula-3, Mac, PowerPC, Unix, Linux, etc.
>
> Supporting 10.2 and 10.3 "ought not" be so difficult, but ok.
>
> I wiped out the install and won't likely come back to it until
> a bunch of other things are done.
> e.g.:
> debug 64 bit hosted cm3cg
> move PPC_LINUX to pthreads
> high dpi
> bring up or backup a bunch of targets I have hardware for,
>  and some others I don't have yet.
>
> Adding back support for NT4/Win9x probably not hard, though
> similar with gcc on Mac, the current Microsoft tools no longer
> target them.
>
> It all gets easier with virtualization..
> (Which is easiest on x86/amd64.)
>
> - Jay
>
>
>
>> From: darko at darko.org
>> To: hosking at cs.purdue.edu
>> Date: Tue, 30 Sep 2008 11:50:43 +0200
>> CC: m3devel at elegosoft.com; jay.krell at cornell.edu
>> Subject: Re: [M3devel] m3cc build fails on older MacOS X
>>
>> I think supporting the latest version is enough work. I don't see the
>> point of supporting older releases. Also, this seems to be relevant  
>> to
>> development on that version of the system. Anyone who wants to build
>> can upgrade.
>>
>>
>> On 30/09/2008, at 11:15 AM, Tony Hosking wrote:
>>
>>> Does anyone really care about 10.3 now? As I recall, it had some
>>> pretty broken assumptions.
>>>
>>> On Sep 30, 2008, at 9:25 AM, Jay wrote:
>>>
>>>>
>>>> I have a machine running 10.3 now.
>>>>
>>>> gcc-4.3.2 (the current release) won't (toplevel) configure on
>>>> MacOSX 10.3 apparently because its assembler doesn't support
>>>> ".machine".
>>>> Current "cctools" won't compile on 10.3 without patches or other
>>>> updates, due to mucking with ppc64 stuff, though that is easy to  
>>>> fix.
>>>>
>>>> A simple wrapper around as for use on 10.3 that strips the .machine
>>>> directive is probably reasonable, or a patch to gcc to just not
>>>> emit it for Darwin, except maybe for non-ppc, or subject to a  
>>>> switch.
>>>>
>>>> Other than support for more architectures, I never found any of the
>>>> updates beyond 10.2 very interesting.
>>>> Though current Firefox and Safari also won't run on 10.3.
>>>>
>>>> IF I get this working, maybe I'll bring 10.2 back up also..
>>>>
>>>> - Jay
>>>>
>>>> ________________________________
>>>>
>>>> From: jayk123 at hotmail.com
>>>> To: wagner at elegosoft.com; m3devel at elegosoft.com
>>>> Subject: RE: [M3devel] m3cc build fails on older MacOS X
>>>> Date: Tue, 6 May 2008 10:49:11 +0000
>>>>
>>>>
>>>>
>>>>
>>>> I don't know what these Darwin versions are.
>>>> Mac OSX 10.0? 10.1? 10.2? 10.3? 10.4? 10.5?
>>>> I used to run 10.2 and could perhaps bring it back (though I'd hate
>>>> to lose my PPC_LINUX install.. :( )
>>>>
>>>>> make[2]: Nothing to be done for `all'.
>>>>> Makefile:191: *** Insufficient number of arguments (2) to function
>>>>> `patsubst'. Stop.
>>>>
>>>> Hopefully that's enough context though.
>>>>
>>>> The rest is a cascade.
>>>> What happens if you remove all my m3makefile wierdness (which works
>>>> everywhere else..) and just configure and make?
>>>>
>>>> Can I ssh into this?
>>>>
>>>> - Jay
>>>>
>>>>
>>>>
>>>> ________________________________
>>>>
>>>>
>>>>> Date: Tue, 6 May 2008 07:57:54 +0200
>>>>> From: wagner at elegosoft.com
>>>>> To: m3devel at elegosoft.com
>>>>> Subject: [M3devel] m3cc build fails on older MacOS X
>>>>>
>>>>> On % uname -a
>>>>> Darwin apple.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30
>>>>> 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power
>>>>> Macintosh powerpc:
>>>>>
>>>>> echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o
>>>>> ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o
>>>>> ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./ 
>>>>> fnmatch.o
>>>>> ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./ 
>>>>> getruntime.o
>>>>> ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o
>>>>> ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./ 
>>>>> obstack.o
>>>>> ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o
>>>>> ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o
>>>>> ./strerror.o ./strsignal.o ./unlink-if-ordinary.o ./xatexit.o
>>>>> ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o
>>>>> ./xstrndup.o> required-list
>>>>> make[2]: Nothing to be done for `all'.
>>>>> Makefile:191: *** Insufficient number of arguments (2) to function
>>>>> `patsubst'. Stop.
>>>>> make: *** [all-libcpp] Error 2
>>>>> /bin/sh: line 1: cd: gcc: No such file or directory
>>>>> make: *** No rule to make target `s-modes'. Stop.
>>>>> "/Users/wagner/work/cm3/m3-sys/m3cc/src/m3makefile", line 314:  
>>>>> quake
>>>>> runtime error: unable to copy "./gcc/m3cgc1" to "./cm3cg": errno=2
>>>>>
>>>>> --procedure-- -line- -file---
>>>>> cp_if --
>>>>> postcp 314 /Users/wagner/work/cm3/m3-sys/m3cc/src/m3makefile
>>>>> include_dir 360 /Users/wagner/work/cm3/m3-sys/m3cc/src/m3makefile
>>>>> 9
>>>>> /Users/wagner/work/cm3/m3-sys/m3cc/PPC_DARWIN/m3make.args
>>>>>
>>>>> Fatal Error: package build failed
>>>>> ==> m3-sys/m3cc done
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Olaf
>>>>> --
>>>>> Olaf Wagner -- elego Software Solutions GmbH
>>>>> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
>>>>> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23
>>>>> 45 86 95
>>>>> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz:
>>>>> Berlin
>>>>> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr:
>>>>> DE163214194
>>>>>
>>>>
>>>
>>




More information about the M3devel mailing list