AFter 1 day hacking. Finally I ran 'gem list' ok on my am355x arm evm board. I have some experience to share, but there is no wiki.!!! :( Thanks nobu and all!!!jinleileiking (lei king)
=begin I have some clue.. :) from mkmf.log, we can see, the make cmd, using have_library: checking for deflateReset() in -lz... -------------------- no
I have test on non-crosscompile mode. It is okay. compiling zlib make[1]: Entering directory `/mnt/share/study/src/lang/ruby/ext/zlib' gcc -I. -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/zlib -DRUBY_EXTCONF_H...jinleileiking (lei king)
when cross-compiling, using the --prefix and --exec-prefix is not very convience. using make install will install the file to exec-prefix dir. But when cross compiling. the exec-prefix is always '/'. Means install the files to /...jinleileiking (lei king)
when cross-compiling, using the --prefix and --exec-prefix is not very convience. using make install will install the file to exec-prefix dir. But when cross compiling. the exec-prefix is always '/'. Means install the files to /...jinleileiking (lei king)