Remove All Ads from XDA

crosstool-ng : Exec format error

2 posts
Thanks Meter: 0
By Kdeon, Junior Member on 30th August 2014, 09:16 PM
Post Reply Subscribe to Thread Email Thread

I'm using the crosstool as provided from here by osm0sis

However, I'm running into issues.

I cannot compile a c/cpp file, it won't produce the output object .o file. Instead, the compiler errors and display "error: spawn: Exec format error", I'm not quite sure what it means though.
I use i686-unknown-linux-gnu-c++ to compile from Windows 8.1 x64.

But, when I use i686-unknown-linux-gnu-cpp, it will compile, and produce an .o ANSI file (not binary, but with all classes, structs and so on), but is invalid for ELF.

I noticed that in the archive provided by osm0sis, there are 0Kb exe file like, i686-unknown-linux-gnu-g++.exe. Are they left there willingly or is the archive somehow "corrupted" ?

Is there any possible solutions, and did someone already had this kind of this issue ?

Last edited by Kdeon; 30th August 2014 at 11:04 PM.
31st August 2014, 10:05 AM |#2  
OP Junior Member
Thanks Meter: 0
The thread just got drown... Is this the appropriate section to ask this anyway?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes