Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1616  / 1 Year ago, sun, april 23, 2023, 1:48:38

I am new to Linux, I would like to try image processing using C. I am planning to use Geany.



My questions are:




  1. Can Geany compile these programs?

  2. Can I convert the same to a binary file to load it on to raspberry pi?


More From » compiling

 Answers
1

For your first question, lets quote the webpage:




Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It supports many filetypes and has some nice features.




What this means? That Geany is first a text editor later an IDE, it won't compile a thing by itself, so you may need the libraries and headers to start compiling.



IDE by wikipedias definition:




is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. Several modern IDEs integrate with Intelli-sense coding features.




So, Geany will just allow you to see the code very pretty, saves you from going to the terminal and executing the compiler and help you to debug the code.



For your second question, I recommend you to got to Raspberry Pi for in deep information, but I was able to find you this:




[...] all of the Linux binaries being used by Raspbian OS has been written using the C programming language. [...] In this blog post, I wrote two types of source code. The first one is a simplified function to compile C source code into a executible for the Raspberry Pi.




Source: http://www.element14.com/community/blogs/mirandasoft/2013/05/09/linux-simplified-cross-compiling-raspberry-pi-binaries-using-c-programming-language


[#29951] Sunday, April 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
llianconclad

Total Points: 65
Total Questions: 109
Total Answers: 127

Location: Mali
Member since Fri, Dec 3, 2021
2 Years ago
;