Then when the make prompt:
I will be the first file is copied to the cross compiler's default header file query path, the file can be found, but another file problems:
I copies the entire python2.7 folder to the default path, but another problem:
But the pyconfig. H file in python2.7 this folder, already exist,
Is this how to return a responsibility, I in the right way? Put the program in the correct steps in the development board to run should be what kind of?
I small white, just learn soon, hope someone can solve,
CodePudding user response:
Can't put x86 header files are copied to the arm cross-compiler default path, because x86 pyconfig. H and varied versions of the arm, this copy is compiled but in the past, computing compile, link also can't through,The correct way is:
Your software with the help of sqlite3, use arm first cross compiler sqlite3, get sqlite3 library (used for link), during the compilation of the application, put the sqlite3 header file path in the makefile, formulated by the -i option, by sqlite3 library specified path -l
Also used in python, also in accordance with the above methods do,
Is inside the application to use external libraries (in addition to the standard C library) require cross-compilation, then build links to your own application,
Another method is to use the buildroot tools such as the inside of the compiler, need what library directly added in buildroot, then buildroot automatically to library header files and.lib file into the compiler directory, as x86 compile directly over there, and don't need to specify the header files and.lib file path
CodePudding user response:
Well, thank you, thank you very much, I try,