Is it possible to build from source code of statically linked GCC compiler?

If so, what configuration / build flags should I specify?

    1 answer 1

    Coped with the task in the end. Thanks guys from foreign stackoverflow .

    I will duplicate the solution:

    To build a statically linked gcc compiler, you need to specify the following flags when configuring (./configure)

    ../configure --disable-shared --disable-host-shared --with-boot-ldflags=-static --with-stage1-ldflags=-static