Author Topic: compile program ? Is it possible ?  (Read 2822 times)

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
compile program ? Is it possible ?
« on: June 04, 2018, 01:19:23 pm »
Is it possible to compile programs in gemini ?
What are the needed libraries ?
Thank you all .

vader

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
compile program ? Is it possible ?
« Reply #1 on: June 04, 2018, 05:04:41 pm »
Yes, you can compile on the gemini. You just need to install a compiler. The simplest is build-essentials, which installs gcc and a host of utils. The libraries you need depend on what you are compiling. A simple hello world application won't need any other libraries. A lot of open source projects will have requirements which can either be installed with apt-get or compiled from source.

You can even compile in android if you install something like termux. The ARM is probably the second most popular linux variant after x86/64, and as such is widely supported. Debian on gemini is really no different to debian on the desktop, just a different architecture.

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
compile program ? Is it possible ?
« Reply #2 on: June 04, 2018, 07:06:31 pm »
Quote from: vader
Yes, you can compile on the gemini. You just need to install a compiler. The simplest is build-essentials, which installs gcc and a host of utils. The libraries you need depend on what you are compiling. A simple hello world application won't need any other libraries. A lot of open source projects will have requirements which can either be installed with apt-get or compiled from source.

You can even compile in android if you install something like termux. The ARM is probably the second most popular linux variant after x86/64, and as such is widely supported. Debian on gemini is really no different to debian on the desktop, just a different architecture.
OK.
Thank you so much !

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
compile program ? Is it possible ?
« Reply #3 on: June 26, 2018, 11:38:35 am »
Just tried to install 'build-essentials'.....

Got message 'not found'.....

?


Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

mithrandir

  • Full Member
  • ***
  • Posts: 193
    • View Profile
    • http://www.mygnu.de
compile program ? Is it possible ?
« Reply #4 on: June 26, 2018, 11:42:33 am »
Try apt-get install build-essential ...

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
compile program ? Is it possible ?
« Reply #5 on: June 26, 2018, 11:44:05 am »
Quote from: mithrandir
Try apt-get install build-essential ...

That did it!

THANK YOU.

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/