Hi, Update:
Now change kernel.img to kernel.mod, and export symbol using GRUB_EXPORT instead of EXPORT_FUNC and EXPORT_VAR. grub-mkimage would link all modules files to generate core.img. The symbol list is generated by grub-mkimage, no need for symlist.c anymore. Here are some test results using the latest lib branch and corresponding unpatched version (svn r2435). The test uses mingw in a windows host: Compile time: svn: real 3m52.625s user 1m9.647s sys 2m8.904s lib: real 1m13.282s user 0m11.365s sys 0m22.748s Files generated in the compile process: (not counting include/machine and include/cpu) svn: Files 2599 (24308485 bytes) lib: Files 1007 (20610273 bytes) Size of all modules: svn: 635991 lib: 549199 Size of core.img using modules: pc biosdisk reiserfs raid raid6rec mdraid lvm svn: 33035 lib: 29822 -- Bean _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel