FORUMS

crosstool-ng : Exec format error

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

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 ?

Regards.
Last edited by Kdeon; 31st August 2014 at 12:04 AM.
 
 
31st August 2014, 11:05 AM |#2  
OP Junior Member
Thanks Meter: 0
 
More
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)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes