Ada toolchain for Windows CE - ada

Is there an Ada toolchain for Windows CE with a TI AM335X processor?
If there is nothing "out of the box," is it possible to build GCC with Ada support for this platform?

I checked SofCheck AdaMagic from MapuSoft AppCOE. It works, although adabgen.inf and other files are missing, and you'll have to learn it to deal with non-standard compiler.

Related

Howto use Linux 64 Bit Machine to compile Qt Application for 32 bit armV7

I an developing for an Odroid XU4 which is ARM V7 32 Bit Ubuntu MATE.
I know that I could develop on the embedded device directly, but this is not a suitable setup for my Team. Thus I would like to develop on my 64 Bit Linux maptop and cross compile for the 32 Bit armV7.
I use QtCreator for development
What I did so far to make the cross compile work is
compiled all libraries that I need (e.g. openCV) on my Odroid and
copied them to my Linux 64Bit to use for cross compile
downloaded the correct CrossCompiler (gcc-linaro-7.1.1-2017.08-x86_64_arm-eabi/bin/arm-eabi-g++)
compiled qt 5.9 on the odroid and copied to the linux machine to be used for cross compile
Now I setup a new Kit in qtCreator and define the correct qmake location. This is when I get the error, that the architecture is false (naturally since I compiled it on a 32 Bit)
So the question is, how do I have to build qt in order to us it for cross compiling an app for the target platform armV7 (32 bit) on a 64 bit linux laptop
Any help is very much appreciated.

Qt Creator - setting up a kit with a cross-compiler

I'm attempting to use Qt creator to cross-compile a project, but have an issue matching the Qt version and my specified compiler toolchain.
I have created a Kit setting up a Device, selecting my toolchain as the compiler (GCC ARM Linux in this case), but I only have a locally installed system Qt (5.0.2 on Mint x86).
Qt Creator understandably tells me the compiler cannot produce code for the Qt version; all the guides I have found suggest using a Qt compiled for the target platform. This doesn't make sense though - it attempts to run qmake compiled for a different architecture and fails
How do I install or configure/compile a Qt version to work with the cross compiler? Maybe I can modify my existing one to understand this setup?
Thanks
This makes absolutely sense. The advice to use a Qt, which is compiled for your target platform is correct. But this does not mean that you use a Qt that was compiled natively on that target platform. You need to use a Qt, which was compiled with a special cross compiler on your host platform for your target platform. This way qmake and other build tools remain executable on your host, but create configurations for your target.
So, if you have a compiler, which can create ARM code, use it to build your Qt. Then you can create a kit in QtCreator out of this compiler/Qt pair.
Greenflow is right. I would like to add some information. I have cross compiled Qt 5.4.1 on Windows having an ARM Linux as target platform. You just need to configure the build properly. Here's what I did:
./configure -platform win32-g++ -xplatform linux-arm-gnueabihf-g++ .....
So Qt tools (qmake,moc,etc...) were built as Windows binaries and all the libraries were built as Linux binaries. Check for the available platforms in qtbase/mkspecs.

gdb crashes!! -- QtLibrary4.8.4, QtCreator2.7.1 and MinGW 4.4,

I am using QtLibrary4.8.4(64 bit), QtCreator2.7.1(64 bit) and MinGW32 4.4.0 for Qt project development.
I can successfully run program but cannot debug it, on debugging the gdb crashes!!!
what can be possible reason. is it a version mismatch? Do I need to upgarde or downgrade gdb??
N.B: I cant use the standalone SDK qt5.0 as I have to stick to version 4.8.4.
Thanks
I encountered the same problem. When using QT you can't use the mingw gdb, instead use the compiled version from the QT-project site.
https://qt-project.org/wiki/QtCreatorBuildGdb

IDE for GNAT 3.15p Ada compiler

I am using the GNAT 3.15p Ada compiler which is suggested for RTRT. I was using GPS IDE with another version of the GNAT Ada compiler. Is there any IDE available for the GNAT 3.15p compiler? Can I use GPS IDE itself, if so how to change the compiler?
Thanks
Padmapriya
I believe that GPS will use the first gcc and gnatmake that it finds on the PATH.
Normally, installing GNAT on Windows will set up the PATH properly; if you already have a later GNAT+GPS installed, installing 3.15p should put itself first on the PATH.
The latest GPS you can find (e.g. GPS from GNAT GPL 2012) might support GNAT 3.15p (although the officially stated support only goes back as far as GNAT Pro 3.16a1). Look in the newer GPS manual for the "multiple toolchains" feature. This works very well for using a newer GNAT toolset with an older compiler. The "multiple toolchains" settings will override the OS path variable settings.
See http://docs.adacore.com/gps-docs/users_guide/_build/html/compilation.html#working-with-two-compilers
If you use gpr files you will probably have to restrict yourself to project file features that were available in GNAT 3.15p.
You might also have some luck with either GNATbench on Eclipse or AdaGIDE as alternate IDEs.

Use a LLVM compiled version of Qt

I've seen some mkspec for mac or linux using llvm.
Does anyone use an llvm compiled version of Qt ? Or llvm on their Qt Projects ? does it speed up compilation times ? Is your project faster ?
According to this bug compiling Qt using LLVM is not yet possible.
This is not true - Qt can be compiled via llvm-gcc since version 1.9. clang is currently "almost" able to compile Qt fully. Note that the code of Qt is not sometimes standard-compliant :)

Resources