Installation question
Albert Chin
binutils@mlists.thewrittenword.com
Tue Feb 23 22:50:29 GMT 2021
On Tue, Feb 23, 2021 at 09:07:37PM +0000, Gary Oblock via Binutils wrote:
> How do I go about installing binutils in my own directory
> instead of /usr/local and what do I need to do to get
> my compiler under development to use them.
>
> This is my current attempt at an installation script
>
> cd binutils_build
> touch build install
> rm -rf build install
> mkdir build install
> cd build
> ../binutils-2.36/configure
> make tooldir=/home/gary/binutils_build/install
> make tooldir=/home/gary/binutils_build/install install
$ tar Jxf binutils-2.36.1.tar.xz
$ cd binutils-2.36.1
$ ./configure --prefix=<dir>
$ make
$ make install
If you *only* want to install the linker, run the following instead of
"make install":
$ make -C ld install
--
albert chin (china@thewrittenword.com)
More information about the Binutils
mailing list