Re: -arch: not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6 January 2017 at 15:31, Nick Leli <nicholasleli@xxxxxxxxx> wrote:
> Hi Jonathan,
>
> I was suspecting the missing assembler too as I did not see the *-as file in
> the $PREFIX/bin directory.  To add more color to this, I have:
>
> 1. Run the contrib/download_prerequisites script
> 2. Configured binutils with ../binutils-2.27/configure --target=$TARGET
> --prefix="$PREFIX" --with-sysroot --disable-nls --disable-werror
> 3. Run `make` and `make install` in the new `build-binutils` directory
>
> Is there a specific flag to create the assembler in the binutils config?
>
> These are the files found in my new $PREFIX/bin directory:
> x86_64-apple-darwin15.6.0-addr2line
> x86_64-apple-darwin15.6.0-readelf
> x86_64-apple-darwin15.6.0-ar
> x86_64-apple-darwin15.6.0-size
> x86_64-apple-darwin15.6.0-c++filt
> x86_64-apple-darwin15.6.0-strings
> x86_64-apple-darwin15.6.0-elfedit
> x86_64-apple-darwin15.6.0-strip
> x86_64-apple-darwin15.6.0-nm
> x86_64-apple-darwin15.6.0-objcopy
> x86_64-apple-darwin15.6.0-objdump
> x86_64-apple-darwin15.6.0-ranlib

Ah, I've just remembered that binutils doesn't support Mac OS X, so
the assembler and linker are not built. You need to use the Apple
assembler and linker from t he Xcode command line tools.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux