forked from KolibriOS/kolibrios
Add bat script to bcc32 newlib example
git-svn-id: svn://kolibrios.org@8366 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
de4468272c
commit
c3410b755e
12
programs/bcc32/newlib_example/build.bat
Executable file
12
programs/bcc32/newlib_example/build.bat
Executable file
@ -0,0 +1,12 @@
|
||||
Set NAME=main
|
||||
Set BCC=bcc32
|
||||
Set MSVC=link
|
||||
Set LD=ld
|
||||
Set SDK_DIR=../../../contrib/sdk
|
||||
|
||||
%BCC% -c %NAME%.c
|
||||
%MSVC% -edit %NAME%.obj
|
||||
%LD% -static -S -nostdlib -T %SDK_DIR%/sources/newlib/app.lds --image-base 0 -L%SDK_DIR%/lib --subsystem console -o %NAME%.kex %NAME%.obj -lgcc -lc.dll
|
||||
|
||||
if exist %NAME%.kex kpack %NAME%.kex
|
||||
pause
|
Loading…
Reference in New Issue
Block a user