public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Installation of arch-specific directory
@ 2020-10-10  9:57 Winston Smith
  2020-10-12  6:13 ` Claudiu Zissulescu Ianculescu
  0 siblings, 1 reply; 4+ messages in thread
From: Winston Smith @ 2020-10-10  9:57 UTC (permalink / raw)
  To: binutils

Hi All,

Is there a way to prevent installation of /usr/x86_64-pc-linux-gnu (or whatever the host arch is) when building from source, and if so, what is it?

Thanks in advance.

Regards,
Winston


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Installation of arch-specific directory
  2020-10-10  9:57 Installation of arch-specific directory Winston Smith
@ 2020-10-12  6:13 ` Claudiu Zissulescu Ianculescu
  2020-10-12  6:40   ` Winston Smith
  0 siblings, 1 reply; 4+ messages in thread
From: Claudiu Zissulescu Ianculescu @ 2020-10-12  6:13 UTC (permalink / raw)
  To: Winston Smith; +Cc: binutils

You need to pass `--prefix` and the path where you want to have your
installation when configuring.

Cheers,
Claudiu

On Sat, Oct 10, 2020 at 12:58 PM Winston Smith via Binutils
<binutils@sourceware.org> wrote:
>
> Hi All,
>
> Is there a way to prevent installation of /usr/x86_64-pc-linux-gnu (or whatever the host arch is) when building from source, and if so, what is it?
>
> Thanks in advance.
>
> Regards,
> Winston
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Installation of arch-specific directory
  2020-10-12  6:13 ` Claudiu Zissulescu Ianculescu
@ 2020-10-12  6:40   ` Winston Smith
  2020-10-13  8:52     ` Christer Solskogen
  0 siblings, 1 reply; 4+ messages in thread
From: Winston Smith @ 2020-10-12  6:40 UTC (permalink / raw)
  To: Claudiu Zissulescu Ianculescu; +Cc: binutils

Hi,

I did that:

binutils-2.32-build$ ../binutils-2.32/configure --prefix=/usr

I still end up with /usr/x86_64-pc-linux-gnu. As far as I know, this directory is not part of the binary packages for most distributions, so I presume this is not even required unless I cross-compile?

Regards,
Winston

________________________________
From: Claudiu Zissulescu Ianculescu <claziss@gmail.com>
Sent: Monday, October 12, 2020 12:13 PM
To: Winston Smith <Smith_Winston_6079@hotmail.com>
Cc: binutils@sourceware.org <binutils@sourceware.org>
Subject: Re: Installation of arch-specific directory

You need to pass `--prefix` and the path where you want to have your
installation when configuring.

Cheers,
Claudiu

On Sat, Oct 10, 2020 at 12:58 PM Winston Smith via Binutils
<binutils@sourceware.org> wrote:
>
> Hi All,
>
> Is there a way to prevent installation of /usr/x86_64-pc-linux-gnu (or whatever the host arch is) when building from source, and if so, what is it?
>
> Thanks in advance.
>
> Regards,
> Winston
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Installation of arch-specific directory
  2020-10-12  6:40   ` Winston Smith
@ 2020-10-13  8:52     ` Christer Solskogen
  0 siblings, 0 replies; 4+ messages in thread
From: Christer Solskogen @ 2020-10-13  8:52 UTC (permalink / raw)
  To: binutils

On 12.10.2020 08:40, Winston Smith via Binutils wrote:
> Hi,
> 
> I did that:
> 
> binutils-2.32-build$ ../binutils-2.32/configure --prefix=/usr
> 
> I still end up with /usr/x86_64-pc-linux-gnu. As far as I know, this directory is not part of the binary packages for most distributions, so I presume this is not even required unless I cross-compile?
> 

make install tooldir=/usr


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-13  8:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10  9:57 Installation of arch-specific directory Winston Smith
2020-10-12  6:13 ` Claudiu Zissulescu Ianculescu
2020-10-12  6:40   ` Winston Smith
2020-10-13  8:52     ` Christer Solskogen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).