|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Other Compiller
Other Compiller [message #47671] |
Wed, 01 March 2017 00:03  |
Mq35
Messages: 10 Registered: January 2016
|
Promising Member |
|
|
I have downloaded the toolchains (raspberry-gcc4.9.2-r4.exe).
How can I properly configure TheIDE to compile code for Raspberry?
How can I delete the wrong options "-DflagWIN32" "-mthreads" from compiller command line?
----- rasp ( MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 )
cd D:\upp\MyApps\rasp
rasp.cpp
arm-linux-gnueabihf-gcc -c -I"D:\upp/MyApps" -I"D:\upp/uppsrc" -I"D:\upp\SysGCC\include" -I"D:/upp/out/MyApps/rasp/rrr.Debug.Debug_Full.Main" -DflagMAIN -D
flagGCC -DflagDEBUG -DflagDEBUG_FULL -DflagBLITZ -DflagWIN32 -mthreads -g2 -static -fexceptions -D_DEBUG -O0 -gstabs -x c++ "D:\upp\MyApps\rasp\rasp.cpp" -o "D
:/upp/out/MyApps/rasp/rrr.Debug.Debug_Full.Main\rasp.o"
|
|
|
|
|
|
Re: Other Compiller [message #49586 is a reply to message #49581] |
Tue, 06 March 2018 21:25   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello,
The problem with cross compilation is that GCC or MSCV like build methods targets current operating system. This is why -DflagWIN32 flag is added. Without chaining ide source code it will not be possible.
Cross compilation with TheIDE is possible. I manage to did it in the past by providing Android builder. It can be build from Windows and Linux and targets different architecture like x86, ARM & MIPS.
Pipcoprof, please read my post when I explain how to build ide on raspberry pi. Currently, this is the only reasonable way for you.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Wed, 07 March 2018 11:33] Report message to a moderator
|
|
|
|
|
Re: Other Compiller [message #49610 is a reply to message #49608] |
Tue, 13 March 2018 07:22  |
picoprof
Messages: 5 Registered: February 2018 Location: france
|
Promising Member |
|
|
Hello didier,
Thank you for sending the doc in french, I'm not a king in english as you can read.
I'was in holiday last week and I have n't work one the raspberry.
Thank for the answer.
|
|
|
Goto Forum:
Current Time: Mon Apr 28 23:13:27 CEST 2025
Total time taken to generate the page: 0.00921 seconds
|
|
|