Install gcc and other build tools

Share your awesome tips and tricks here.
cslewis2024
Posts: 1
youtube meble na wymiar Warszawa
Joined: Wed Sep 04, 2024 8:38 pm

Install gcc and other build tools

Post by cslewis2024 »

I know I can install a cross compile tool chain in order to build binaries for my AS1102TL, but I would prefer to just use gcc natively on the device.

Has anyone managed to do that?

the apkg utility doesn't list any build tools. I suppose I could use docker to run an ubuntu container and install the tools there, but that seems silly.

I am brand new to this platform, so any help would be appreciated.
User avatar
father.mande
Posts: 2193
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: Install gcc and other build tools

Post by father.mande »

Hi,

You have multiple solutions depends of your request ... for ex.
naively :
Use Entware APKG , then you add +2500 packages including gcc, make, etc. ... ann include tar gziped ... can be also get to have headers.
... you can manage env. by yourself or use Entware functions to add your personal software.

using a chroot ... ubuntu 18.04 have same ld-linux and libc ... BUT other flavor are possible but need more adaptation to ADM Linux.
... no restriction (kernel, software, tools, ... )
... BUT moving to ADM can require to provide libraries not present by default.
etc.

Philippe.
Asustor updated :D to ADM 5.0
FS6706T / AS3302Tv2 / AS5202T
Asustor using last ADM 4.x :D
AS6602T
Asustor E.O.L. at A.D.M. 4.0 :(
AS5002T / AS1002T
Asustor past :mrgreen:
AS202T
mojsan
Posts: 1
Joined: Fri Dec 06, 2024 4:47 am

Re: Install gcc and other build tools

Post by mojsan »

Can someone help me with exact commands to install gcc?

I need it to build uwsgi.