[macemacsjp-english 953] Re: How to build Carbon Emacs Package

Back to archive index

Federico Maggi feder****@gmail*****
Mon Mar 12 06:54:33 JST 2007


Sorry but my situation didn't change:

----
defeat:~/Desktop/CarbonEmacs phretor$ sudo gcc_select 4.0
Default compiler has been set to:
gcc version 4.0.1 (Apple Computer, Inc. build 5250)

defeat:~/Desktop/CarbonEmacs phretor$ make compile
if [ -e /sw ] ; then echo "/sw is found." ; exit -1 ; fi
cd emacs ; \
perl -i -p -e 'if(/GetInfo/){s/\".*\"/\"March, 2007; Carbon Emacs  
Package by S. Zenitani et al.\"/;}' \
mac/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings ; \
cp -p ../Resources/Emacs.icns mac/Emacs.app/Contents/Resources/ ; \
cp -p ../Resources/document.icns mac/Emacs.app/Contents/Resources/ ; \
cp -pR ../Resources/Sheet.nib mac/Emacs.app/Contents/Resources/ 
English.lproj/ ; \
cp -p ../GPL/lisp/utf-8m.el lisp/international/ ; \
cp -p ../GPL/lisp/carbon-emacs-package.el lisp/ ; \
perl -i -p -e 'if(/@@@@/){s/\".*\"/\"March, 2007; Carbon Emacs  
Package by S. Zenitani et al.\"/;}' \
         lisp/carbon-emacs-package.el ; \
cp -p ../GPL/lisp/site-*.el lisp/ ; \
rm -rf lisp/obsolete
cd emacs ; \
env \
CFLAGS="-arch i386 -arch ppc -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk -DUSE_ATSUI -DUSE_MAC_TSM" \
./configure \
         --prefix=/Applications/Emacs.app/Contents/Resources \
         --with-carbon --without-x \
                 --libexecdir=/Volumes/Emacs/Emacs.app/Contents/MacOS/ 
libexec ; \
env PER_ARCH_CFLAGS_ppc="-fast -mcpu=7450" \
make bootstrap
checking build system type... powerpc-apple-darwin8.8.0
checking host system type... powerpc-apple-darwin8.8.0
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** No rule to make target `bootstrap'.  Stop.
make: *** [compile] Error 2

defeat:~/Desktop/CarbonEmacs phretor$ gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
build 5250)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.
----

On 05/mar/07, at 11:47, Peter Dyballa wrote:

> That's the reason: GCC 3.3 has no idea of Universal Binaries!
>
> There is the command /usr/sbin/gcc_select, together with an UNIX man
> page, that switches from GCC 3.3 to 4.0. And back! Running
> 'gcc_select -n 4.0', provided you have installed a Developer Mega
> Package (approximately 1 GB) with GCC 4.0, would show what gcc_select
> would do. It would also show whether you need to install a recent
> Developer Mega Package (integrating its documentation takes six hours
> or even more), but it's useful anyway to stay up-to-date to be able
> to use a dual core processor ...
>
> Final step of "switching" would be 'sudo gcc_select 4.0' ...

--

Federico www.Maggi.cc





More information about the macemacsjp-english mailing list
Back to archive index