|
突然醒悟,原来可以交叉编译的,
稍微修改了一下源码,
在slitaz4.0 系统下完成了2种的编译。
得出的编译结果测试了,完全一致。
没有做什么功能修改,只是将版本号提升为1.7
附件包含了2个文档,
linux下的fbinst
windows下的fbinst.exe
fbinst.zip
(158.04 KB, 下载次数: 534)
大家有需要研究的下载使用吧。
如果有提问,我会回答。
随便就贴出使用方法吧,
以下文字由./fbinst --help > 1.txt 产生。- Usage:
- fbinst [OPTIONS] DEVICE_OR_FILE COMMANDS [PARAMETERS]
- Global Options:
- --help,-h Display this message and exit
- --version,-V Print version information and exit
- --list,-l List all disks in system and exit
- --verbose,-v Print verbose messages
- --debug,-d Use the debug version of mbr
- Commands:
- format Format disk
- --raw,-r Format with normal layout (not bootable)
- --force,-f Force the creation of data partition
- --zip,-z Format as USB-ZIP
- --fat16 Format data partition as FAT16
- --fat32 Format data partition as FAT32
- --align,-a Align to cluster boundary
- --nalign,-n NUM NAND alignment
- --unit-size,-u NUM Unit size for FAT16/FAT32 in sectors
- --base,-b NUM Set base boot sector
- --size,-s NUM Set size of data partition
- --primary,-p NUM Set primary data size
- --extended,-e NUM Set extended data size
- --list-size,-l NUM Set size of file list
- --max-sectors NUM Set maximum number of sectors per read
- --chs Force chs mode
- --archive FILE Initialize fb using archive file
- restore Try to restore fb mbr
- update Update boot code
- sync Synchronize disk information
- --copy-bpb Copy bpb from the first partition
- --reset-bpb Reset bpb to inital state
- --clear-bpb Clear bpb
- --max-sectors NUM Set maximum number of sectors per read
- --chs Force chs mode
- --zip,-z Format as USB-ZIP
- info Show disk information
- clear Clear files
- add NAME [FILE] Add/update file item
- --extended,-e Store the file in extended data area
- --syslinux,-s Patch syslinux boot file
- add-menu NAME FILE Add/update menu file
- --append,-a Append to existing menu file
- --string,-s The menu items are passed as command argument
- resize NAME SIZE Resize/create file item
- --extended,-e Store the file in extended data area
- --fill,-f NUM Set fill character for expansion
- copy OLD NEW Copy file item
- move OLD NEW Move file item
- export NAME [FILE] Export file item
- remove NAME Remove file item
- cat NAME Show the content of text file
- cat-menu NAME Show the content of menu file
- pack Pack free space
- check Check primary data area for inconsistency
- save FILE Save to archive file
- --list-size,-l NUM Set size of file list
- load FILE Load from archive file
- create Create archive file
- --primary,-p NUM Set primary data size
- --extended,-e NUM Set extended data size
- --list-size,-l NUM Set size of file list
复制代码 |
评分
-
查看全部评分
|