Choosing a compact c/c++ compiler for ARM based Embedded Linux System -


I am working on ARM Cortex A7 based embedded system which runs Linux. I'm looking for the c / c ++ compiler (GCC is around 100 MB) which is size and dependable compact. I have shortlisted for some such SDCC, TCC, OTC, Digital Mars, NWCC, LCC, Small C, Portable C compiler.

I want to know that the compilers are dependent on the operating system or the hardware and how should I proceed, I am not an expert to start the bottom strip list and I am learning about Linux systems and embedded environments. I am If you think I am asking wrong questions or going in the wrong direction, please tell me.

Thank you

Note

I already have a cross compiler Linux (laptop) system I compile the program to be loaded using only this But the embedded system should be capable of loading with a special language designed by us, I am hoping to convert that language to equivalent code and run it. I tried to write my own interpreter in C, which accepts the code in another language and it parses and executes, but it is very slow, I wrote direct instructions (straightforward) in consistent results in the season tried.

EDIT: I used to use G ++ on my system to compile I code, because the main function of the system was to use generated code.

Generally, when dealing with embedded systems, you are better off directly than cross-compiling and By compiling directly on the device, you send binaries. Although it can afford you some time at the beginning of the toolkain, it definitely pays back with you build time.

There are several pre-built Linaro GCCs, which in general are x86 linux as host and arm linux in the form of target platform, in this way, you should not worry about the compiler size.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -