Code: Select all
@echo "build FBSound 1.1 for Windows x86:"
@REM Set the right path to your 32-bit FreeBASIC compiler !
d:\FreeBASIC\fbc32.exe -w pendantic -mt -gen gcc -asm intel -lib src/fbscpu.bas -x ./lib/win32/libfbscpu.a
d:\FreeBASIC\fbc32.exe -w pendantic -mt -gen gcc -asm intel -lib src/fbsdsp.bas -x ./lib/win32/libfbsdsp.a
d:\FreeBASIC\fbc32.exe -w pendantic -mt -gen gcc -asm intel -p ./lib/win32 -dll src/fbsound.bas -x ../fbsound-1.1/tests/fbsound-32.dll
d:\FreeBASIC\fbc32.exe -w pendantic -mt -gen gcc -asm intel -dll src/plug-ds.bas -x ../fbsound-1.1/tests/plug-ds-32.dll
d:\FreeBASIC\fbc32.exe -w pendantic -mt -gen gcc -asm intel -dll src/plug-mm.bas -x ../fbsound-1.1/tests/plug-mm-32.dll
move /Y ..\fbsound-1.1\tests\libfbsound-32.dll.a ..\fbsound-1.1\lib\win32\
del ..\fbsound-1.1\tests\libplug-ds-32.dll.a
del ..\fbsound-1.1\tests\libplug-mm-32.dll.a
@echo "ready!"
@pause
Code: Select all
@echo "build FBSound 1.1 for Windows x86_64:"
@REM Set the right path to your 64-bit FreeBASIC compiler !
d:\FreeBASIC\fbc64.exe -w pendantic -mt -gen gcc -asm intel -lib src/fbscpu.bas -x ./lib/win64/libfbscpu.a
d:\FreeBASIC\fbc64.exe -w pendantic -mt -gen gcc -asm intel -lib src/fbsdsp.bas -x ./lib/win64/libfbsdsp.a
d:\FreeBASIC\fbc64.exe -w pendantic -mt -gen gcc -asm intel -p ./lib/win64 -dll src/fbsound.bas -x ../fbsound-1.1/tests/fbsound-64.dll
d:\FreeBASIC\fbc64.exe -w pendantic -mt -gen gcc -asm intel -dll src/plug-ds.bas -x ../fbsound-1.1/tests/plug-ds-64.dll
d:\FreeBASIC\fbc64.exe -w pendantic -mt -gen gcc -asm intel -dll src/plug-mm.bas -x ../fbsound-1.1/tests/plug-mm-64.dll
move /Y ..\fbsound-1.1\tests\libfbsound-64.dll.a ..\fbsound-1.1\lib\win64\
del ..\fbsound-1.1\tests\libplug-ds-64.dll.a
del ..\fbsound-1.1\tests\libplug-mm-64.dll.a
@echo "ready!"
@pause
How set the output path for the created import lib the *.dll.a file ?
I have to delete libplug-ds-xx.dll.a and libplug-mm-xx.dll.a manually also.
How to disable writing the optional import lib the *.dll.a file ?
Thank you.
Joshy