//FileName: test. C
#include
#include
Int main ()
{
Printf (" This is my test program. \r\n");
return 0;
}
Use the
MSDK - Linux - GCC test. C
Compile, generate a.out, copy to the target board, running normally,
And use the MSDK - Linux - GCC test. The c - L/opt/lib/MSDK - XXX - XXX - XXX - lpthread
Compile, production a.out, copy to the target board, immediately prompt
Segmentation fault,
Not with any threads library functions in the program, I ask what reason is this?
Use the -l parameter here make a cross-compiler priority library search tool chain,
Thank you for your warrior!