This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to get a Linux's executable(.out) file from the XDC compiler environment?

Hi All,

This is our purpose in detail:

1.The target is ARM A8 in which runs a Linux OS(version2.6.37) and the platform is DM8168 based DVR reference design.

2.We want to make out the executable in Ubuntu through the command line because there is no CCS supported.

3.We take a simple "hello world" code for example, with the difference that the printf is replaced of System_printf who is the xdc.runtime API. For realizing it, a .cfg file is included in the process.

Following is what we have tried:

First, follow the steps in <XDCtools User Guide>. We use "configuro" to configure the .cfg with the output of hello_pea8f.c, hello_pea8f.h, hello_pea8f.obj and so on.

Then we tried different ways: 

A1. Get use of arm-none-linux-gnueabi-gcc to compile the hello.c then link hello.obj and hello_pea8f.obj to generate the final .out file.

A2. Get use of cl470 to compile the hello.c then link hello.obj and hello_pea8f.obj to generate the final .out file.

A3. We use arm-none-linux-gnueabi-gcc to compile hello_pea8f.c to generate a new hello_pea8f.obj and then repeat the step of 'A1'.

Finally, we run all the executable files from A1-A3 but no one is correct.

 

Thanks.

 

Eric