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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,258 Views
yccamel
Contributor I

attachment is  the  screenshot。 thanks

Tags (1)
0 Kudos
1 Solution
996 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
997 Views
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 Kudos
996 Views
yccamel
Contributor I

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

0 Kudos