[M3devel] m3cc build fails on older MacOS X
Jay
jay.krell at cornell.edu
Tue Sep 30 10:25:25 CEST 2008
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