Windows 8 cross compile works in prompt, not in eclipse [message #1430075] |
Wed, 24 September 2014 02:47 |
Stas Samdler Messages: 2 Registered: September 2014 |
Junior Member |
|
|
Hi,
I have code which I can compile in prompt, but not in Eclipse
I am trying to cross compile from windows for Beagle bone black (raspberry pi should be similar/same), if anyone has any tips please post them.
I have installed a selection of packages in windows 8.1
Eclipse, gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_win32, and linux bin tools for windows (RM, make etc ) as per guide
jkuhlm.bplaced.net/hellobone/
The Eclipse does not compile the cross compiled code, even though in prompt, the commands execute perfectly and create a working file.
for Eclipse, I have installed java64 bit and 32 bit, (64 1st, 32 nd). I have tried both 64 and 32 bit version of Eclipse.
In prompt, these commands make a compiled file.
arm-linux-gnueabihf-g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/sdfes.d" -MT"src/sdfes.d" -o "src/sdfes.o" "../src/sdfes.cpp"
and
arm-linux-gnueabihf-g++ -o "sdfes" ./src/sdfes.o
Eclipse errors are ;
make all
Building file: ../src/sdfes.cpp
Invoking: Cross G++ Compiler
arm-linux-gnueabihf-g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/sdfes.d" -MT"src/sdfes.d" -o "src/sdfes.o" "../src/sdfes.cpp"
make: *** [src/sdfes.o] Error -1073741502
or if i do partial compile in prompt;
make all
Building target: sdfes
Invoking: Cross G++ Linker
arm-linux-gnueabihf-g++ -o "sdfes" ./src/sdfes.o
make: *** [sdfes] Error -1073741502
Any suggestion would be most appreciated.
Stas.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03374 seconds