[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Cross compiling using microblaze-elf-toolchain in linux



Hi all,

I am using ML 402 Board & ISE & EDK 8.1. I have ported uClinux on this board. kernel gets booted properly & I get login prompt & all command supports.

 

I created a new BSB project in Windows & did Libgen.

 

Then I launched EDK Shell & I am able to compile “hello world “program successfully .

Executable a.out is generated.

 

I have two doubts now

 

1) I am not sure how should I transfer this executable file to uClinux kernel  & how to run it.

 

2) I want to run the Client Server Application (Socket Programming of Linux using TCP/IP). For Windows , we don’t have all the header files. So instead of creating all the required header files, do we have any other way so that I can cross compile my program in Linux using mb-gcc ? ( NOTE : I don’t have ISE-EDK setup in Linux. The only thing I have in Linux is microblaze-elf-toolchain).Is it possible to cross compile a program in linux only with tool chain without any BSB project file ? Please give appropriate suggestion.

 

Thanks in advance…

 

 

 

Regards,

Sweta Bhatt

Embedded Engineer | eInfochips.

contact - sweta.bhatt@xxxxxxxxxxxxxx | +919898833805