Cross Compile for iMx233 using Freescale supplied documentation.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cross Compile for iMx233 using Freescale supplied documentation.

2,304 次查看
Ameeca
Contributor II

I'm using the Freescale supplied documentation to develop a simple Hello World for the iMX233. I have followed the instructions in AN3870 section 4 to configure Eclipse to build the programme - unsurprisingly it does not work.

 

It's such a shame that I have found that nothing works the way it is meant to first time, if ever.

 

**** Build of configuration MX23-Debug for project HelloWorld ****

make all
Building target: HelloWorld
Invoking: GCC C Linker
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -L/home/engineering/Freescale/ltib/rootfs/lib -o"HelloWorld"  ./src/HelloWorld.o   -l/home/engineering/Freescale/ltib/rootfs/usr/lib
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -l/home/engineering/Freescale/ltib/rootfs/usr/lib
collect2: ld returned 1 exit status
make: *** [HelloWorld] Error 1

 

/home/engineering/Freescale/ltib/rootfs/usr/lib is very much available so I do not know why it cant be found.

 

The shocking "support" from Freescale always guides me "back to the forums" so I wonder if anyone can help with this?

 

On Ubuntu 10.04 using Eclipse-cpp 3.4.1

标签 (1)
0 项奖励
回复
2 回复数

1,618 次查看
myke_predko
Senior Contributor III

David,

 

Is this still an issue for you?  It took me a couple of weeks to work through the build process for the '233 and document it - please let me know if you still have a question about it and I will send you what I've done. 

 

myke

0 项奖励
回复

1,618 次查看
danielmartonicz
Contributor I

Dear Myke,

If you still have the mentioned document about iMX233 c.compileing, I would be greatful If you could send me.

Thank you in advance,

Daniel M.

0 项奖励
回复