Activating binutils

David Liontooth liontooth at cogweb.net
Mon Apr 30 13:13:06 PDT 2007


David Liontooth wrote:
> I installed the binutils port (version 2.17), and macports says it's
> active -- but when I issue
>
> x:~# as -v
> Apple Computer, Inc. version cctools-622.5.obj~13, GNU assembler version
> 1.38
>
> This looks like the native assembler version. Is there a way to actually
> activate the port?
On my Linux machines, /usr/bin/as is part of binutils:

list-files binutils | grep bin
/usr/bin
/usr/bin/size
/usr/bin/ld
/usr/bin/strip
/usr/bin/ranlib
/usr/bin/objdump
/usr/bin/ar
/usr/bin/addr2line
/usr/bin/c++filt
/usr/bin/nm
/usr/bin/objcopy
/usr/bin/gprof
/usr/bin/strings
/usr/bin/as
/usr/bin/readelf


On OSX, the binutils port doesn't include bin/as:

Port binutils contains:
/opt/local/bin/gaddr2line
/opt/local/bin/gar
/opt/local/bin/gc++filt
/opt/local/bin/gnm
/opt/local/bin/gobjcopy
/opt/local/bin/gobjdump
/opt/local/bin/granlib
/opt/local/bin/greadelf
/opt/local/bin/gsize
/opt/local/bin/gstrings
/opt/local/bin/gstrip
/opt/local/i386-apple-darwin8.9.1/bin/ar
/opt/local/i386-apple-darwin8.9.1/bin/nm
/opt/local/i386-apple-darwin8.9.1/bin/objdump
/opt/local/i386-apple-darwin8.9.1/bin/ranlib
/opt/local/i386-apple-darwin8.9.1/bin/strip

transcode and presumably other packages ask for bin/as. It doesn't look
like it's ported?

Dave









More information about the macports-users mailing list