gdc-0.24 problems on Snow Leopard

Álvaro Falquina Garrido afalquina at mac.com
Mon Oct 19 02:48:04 PDT 2009


Hello,

This is my first post to the list. First of all I would like to  
congratulate everybody for this very nice piece of software.  
Unfortunately, I am experiencing some problems...

I have recently installed Snow Leopard and I am now trying to install  
gdc. When I execute:

$ sudo port -v install gdc

the command fails:

/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc 
/work/build/./gcc/xgcc -B/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc 
/work/build/./gcc/ -B/opt/local/i386-apple-darwin10.0.0/bin/ -B/opt/ 
local/i386-apple-darwin10.0.0/lib/ -isystem /opt/local/i386-apple- 
darwin10.0.0/include -isystem /opt/local/i386-apple-darwin10.0.0/sys- 
include -O2 -O2 -arch x86_64  -DIN_GCC    -W -Wall -Wwrite-strings - 
Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  - 
isystem ./include  -I. -I. -I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc 
/work/gcc-4.1.2/gcc -I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc 
/work/gcc-4.1.2/gcc/. -I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc 
/work/gcc-4.1.2/gcc/../include -I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc 
/work/gcc-4.1.2/gcc/../libcpp/include   \
	  -c /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gdc 
/work/gcc-4.1.2/gcc/config/darwin-crt2.c -o crt2.o
cc1: error: unrecognized command line option "-arch"
gnumake[2]: *** [crt2.o] Error 1
gnumake[1]: *** [all-gcc] Error 2
gnumake: *** [all] Error 2
Warning: the following items did not execute (for gdc):  
org.macports.activate org.macports.build org.macports.destroot  
org.macports.install

I have been looking for a reference to this error in the archives, to  
no avail. Any hints? Is it OK to send a .gz file containing the whole  
output generated by port -v?

This is some information about my system:

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.6.1
BuildVersion:	10B504

$ uname -a
Darwin MacBookPro.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul  
31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386

$ port version
Version: 1.8.1


About XCode:
Version 3.2
64-bit

Component versions
Xcode IDE: 1610.0
Xcode Core: 1608.0
ToolSupport: 1591.0

Thanks in advance for any help.
Alvaro



More information about the macports-users mailing list