Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Windows 8 cross compile works in prompt, not in eclipse(Windows8, cross compile, BeagleBone Black)
icon2.gif  Windows 8 cross compile works in prompt, not in eclipse [message #1430075] Wed, 24 September 2014 02:47 Go to next message
Stas Samdler is currently offline Stas SamdlerFriend
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.

index.php/fa/19237/0/

Stas.
Re: Windows 8 cross compile works in prompt, not in eclipse [message #1431851 is a reply to message #1430075] Fri, 26 September 2014 08:21 Go to previous message
Stas Samdler is currently offline Stas SamdlerFriend
Messages: 2
Registered: September 2014
Junior Member
solution,

install a different set of make, rm tools
found as per
gnuarmeclipse.livius.net/blog/install/
->installed
gnuarmeclipse.livius.net/blog/build-tools-windows/ -->installed rm,exe "only" and add to path.
-->gnutoolchains.com/download/
installed beaglebone-gcc4.6.3-Debian.exe -->installed and add to path.

this worked kinda for me, 'system' commands don't work, but basic program works
Previous Topic:how to change path of "configure" script created by CDT AUTOTOOLS
Next Topic:#ifdef Symbol are not responding to -Dsymbol settings through Properties
Goto Forum:
  


Current Time: Sun Oct 06 17:06:28 GMT 2024

Powered by FUDForum. Page generated in 0.03374 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top