On 30/10/11 00:13, Peter Dyballa wrote:
> Hello!
>
> The command 'gcc -v --help' reports that the switch '-m64' can be used to 
> produce 64-bit output for the x86_64. It also mentions '-mtune=core2'. When I 
> try to compile GNU Emacs 23.3a (which I'll patch to get the "AppKit Emacs") 
> GCC 4.6.1 fails to build the temacs executable:
>
> gcc-4 -I/opt/local/include -L/opt/local/lib  -fno-pie -prebind -Xlinker 
> -headerpad -Xlinker 690 -Wl,-dead_strip_dylibs -Wl,-bind_at_load -Wl,-t  
> -L/opt/local/lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o 
> menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o 
> chartab.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o 
> fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o gtkutil.o  emacs.o 
> keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o 
> minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o 
> search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o 
> floatfns.o fns.o font.o print.o lread.o syntax.o unexmacosx.o bytecode.o 
> process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o 
> intervals.o textprop.o composite.o md5.o     xfont.o ftfont.o xftfont.o 
> ftxfont.o terminfo.o lastfile.o   mktime.o    -L/opt/local/lib 
> -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11
-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr 
-lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 
-lXfixes -lcairo -lX11 -lpng14 -lpango-1.0 -lm -lfreetype -lfontconfig 
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lpthread -lSM 
-lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -lXrender -L/opt/local/lib 
-lXft  -L/opt/local/lib -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lm -lcairo 
-lgobject-2.0 -lgmodule-2.0 -lpng14 -lgthread-2.0 -lglib-2.0 -lintl  -lncurses  
 -L/opt/local/lib -lz -lbz2 -lotf -lfreetype
> /usr/lib/crt1.10.5.o
> /usr/lib/libSystem.dylib
> /sw/lib/gcc4.6/lib/libgcc_ext.10.5.dylib
> /sw/lib/gcc4.6/lib/gcc/i386-apple-darwin10.8.0/4.6.1/libgcc.a
> /usr/lib/system/libmathCommon.A.dylib
> ld: warning: in pre-crt0.o, file was built for unsupported file format which 
> is not the architecture being linked (i386)
[]>     Non-fat file: 
/sw/lib/gcc4.6/lib/gcc/i386-apple-darwin10.8.0/4.6.1/libgcc.a is 
architecture: i386
>
> So the package gcc46 is not usable.
[]
> Mac OS X 10.6.8, Xcode 4.0.2 and 3.2.6 (for Tiger and PPC64 support)
>
> Package manager version: 0.31.3
> Distribution version: selfupdate-cvs Wed Oct 26 22:25:37 2011, 10.6, i386

Mixing Fink and Macports is generally not advisable, but you are even 
trying to mix 32bit Fink with 64bit Macports. What do you expect?

If you want 64bit gcc46 from Fink, you need to install 64bit Fink first.

-- 
Martin



------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to