Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any any way to compile & run program as big-endian on little endian pc?

see i have written one program for big endian now i dont have big endian machine but i want to check whether my program will works correctly or not on big endian so how can i check that on my little endian pc.?

Is there any online virtual big-endian compiler ?

note : i have googled about this but did not get anything.

like image 802
Jeegar Patel Avatar asked Sep 23 '11 09:09

Jeegar Patel


People also ask

Is it possible to compile Python?

For the most part, Python is an interpreted language and not a compiled one, although compilation is a step. Python code, written in . py file is first compiled to what is called bytecode (discussed in detail further) which is stored with a . pyc or .

Can you run c without compiling?

If you only have a ". c" file, then you don't have a program. You must compile the program first to make an executable, and then you must run the program to get its output.


1 Answers

qemu can virtualize all sorts of architectures, amongst then big endian ones.

like image 188
thiton Avatar answered Sep 20 '22 01:09

thiton