when i use "make O=temp" to make kernel in ../tmp/worek-shared/t1042rdb-64db/kernel-sources, the makefile prompt "powerpc64-fsl-linux-ld: cannot find libgcc.a :No such file or directory"。 I make sure that there is libgcc.a in my toolchain .why is th

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

when i use "make O=temp" to make kernel in ../tmp/worek-shared/t1042rdb-64db/kernel-sources, the makefile prompt "powerpc64-fsl-linux-ld: cannot find libgcc.a :No such file or directory"。 I make sure that there is libgcc.a in my toolchain .why is th

ソリューションへジャンプ
1,220件の閲覧回数
yccamel
Contributor I

attachment is  the  screenshot。 thanks

タグ(1)
0 件の賞賛
1 解決策
958件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following build commands.

$ export PATH=/home/b25805/test/QorIQ-SDK-V1.9-20151210-yocto/build_t4240rdb-64b/tmp/sysroots/x86_64-linux/usr/bin/powerpc64-fsl-linux/:$PATH

$ make ARCH=powerpc  uImage  CROSS_COMPILE="powerpc64-fsl-linux-"  CC="powerpc64-fsl-linux-gcc --sysroot=/home/b25805/test/QorIQ-SDK-V1.9-20151210-yocto/build_t4240rdb-64b/tmp/sysroots/t4240rdb-64b"  o=temp  LD=powerpc64-fsl-linux-ld.bfd


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
959件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following build commands.

$ export PATH=/home/b25805/test/QorIQ-SDK-V1.9-20151210-yocto/build_t4240rdb-64b/tmp/sysroots/x86_64-linux/usr/bin/powerpc64-fsl-linux/:$PATH

$ make ARCH=powerpc  uImage  CROSS_COMPILE="powerpc64-fsl-linux-"  CC="powerpc64-fsl-linux-gcc --sysroot=/home/b25805/test/QorIQ-SDK-V1.9-20151210-yocto/build_t4240rdb-64b/tmp/sysroots/t4240rdb-64b"  o=temp  LD=powerpc64-fsl-linux-ld.bfd


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
958件の閲覧回数
yccamel
Contributor I

thanks,  and I also  use  'make O=temp CC=$CC LD=$LD'  to  resolve the problem.

0 件の賞賛