kolibrios/programs/develop/libraries/menuetlibc/include/libc/mkfargs.bat

6 lines
202 B
Batchfile
Raw Normal View History

@echo off
echo /* special version for libc - uses %%gs instead of %%fs. Ignore comments */> farptrgs.h
echo.>>farptrgs.h
sed -e 's/%%fs/%%gs/g' -e 's/0x64/0x65/g' < ..\sys\farptr.h >> farptrgs.h