]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - vtoyfat/build.sh
6 gcc
-O2 -D_FILE_OFFSET_BITS=64 vtoyfat_linux.c
-Ifat_io_lib/include fat_io_lib
/lib
/libfat_io_64.a
-o vtoyfat_64
7 gcc
-m32 -O2 -D_FILE_OFFSET_BITS=64 vtoyfat_linux.c
-Ifat_io_lib/include fat_io_lib
/lib
/libfat_io_32.a
-o vtoyfat_32
9 if [ -e vtoyfat_64
] && [ -e vtoyfat_32
]; then
10 echo -e "\n===== success $name =======\n"
11 [ -d ..
/INSTALL
/tool
/ ] && mv vtoyfat_32 ..
/INSTALL
/tool
/ && mv vtoyfat_64 ..
/INSTALL
/tool
/
13 echo -e "\n===== failed =======\n"