Re: How to build GCC for a specific machine using pbuilder?

2020-06-19 Thread deloptes
Mikhail Morfikov wrote: > I know, but have you ever seen the debian/ dir in the gcc sources? Take a > look here[1]. > Until now I have not, but what is exactly the problem? You have what you need in the beginning include debian/rules.defs include debian/rules.unpack include debian/rules.patch

Re: How to build GCC for a specific machine using pbuilder?

2020-06-19 Thread Mikhail Morfikov
On 19/06/2020 18:36, deloptes wrote: > Mikhail Morfikov wrote: > >> I've read something about setting flags like: --enable-languages= or >> --disable-multilib , which I think would speed the whole process up, but >> unfortunately I have no idea which file in the debian/ dir I should change >> to

Re: How to build GCC for a specific machine using pbuilder?

2020-06-19 Thread deloptes
Mikhail Morfikov wrote: > I've read something about setting flags like: --enable-languages= or > --disable-multilib , which I think would speed the whole process up, but > unfortunately I have no idea which file in the debian/ dir I should change > to build the GCC for my machine only. Any

How to build GCC for a specific machine using pbuilder?

2020-06-19 Thread Mikhail Morfikov
I wanted to change the GCC source a little bit by adding some patches that aren't available in Debian. I downloaded the Debian GCC source via "apt-get source" . I tried to build the source in the Debian way (using pbuilder) just to test how much time would it take. I gave up after 2h because