- Cross compile , if you got the compile error message : undefined reference to `rpl_malloc' ,
you can use export ac_cv_func_malloc_0_nonnull=yes to fix the error message
- Fix for problem
- ./configure --host=arm-linux , you must see the cross compile is yes
- after configure , the Makefile will generate, use make to make the execute file. The file will generate in src folder.
- If you build the i386 execute, you can use make install to install to bin folder.
- Reference
Must export the 4.2.2 usr/bin to $PATH. If you export the wrong version, you will get the illegal instrumention.
- Cross compile steps
留言
張貼留言