mirror of
https://github.com/cahirwpz/amigaos-cross-toolchain
synced 2025-11-21 18:55:54 +00:00
Fix vbcc configuration.
This commit is contained in:
@ -113,7 +113,7 @@ def build_vbcc():
|
||||
'n', 'y', 'unsigned long',
|
||||
'n', 'y', 'float',
|
||||
'n', 'y', 'double')
|
||||
make('vbcc', TARGET='m68k', ETCDIR='\\"{target}/etc\\"', CONFIG=config)
|
||||
make('vbcc', TARGET='m68k', ETCDIR='\\"{target}/etc/\\"', CONFIG=config)
|
||||
remove(config)
|
||||
|
||||
|
||||
@ -153,26 +153,26 @@ def install_vbcc_toolchain():
|
||||
copytree('{sources}/vclib/targets/m68k-amigaos/lib',
|
||||
'{target}/vbcc-lib')
|
||||
config = textfile(
|
||||
('-cc=vbccm68k -quiet -hunkdebug %s -o= %s %s -O=%ld' +
|
||||
('-cc={target}/bin/vbccm68k -hunkdebug %s -o= %s %s -O=%ld' +
|
||||
' -quiet -I{target}/vbcc-include -I{target}/os-include'),
|
||||
('-ccv={target}/bin/vbccm68k -hunkdebug %s -o= %s %s -O=%ld' +
|
||||
' -I{target}/vbcc-include -I{target}/os-include'),
|
||||
('-ccv=vbccm68k -hunkdebug %s -o= %s %s -O=%ld' +
|
||||
' -I{target}/vbcc-include -I{target}/os-include'),
|
||||
('-as=vasmm68k_mot -quiet -Fhunk -phxass -opt-fconst -nowarn=62' +
|
||||
' -I{target}/os-include %s -o %s'),
|
||||
('-asv=vasmm68k_mot -Fhunk -phxass -opt-fconst -nowarn=62' +
|
||||
('-as={target}/bin/vasmm68k_mot -Fhunk -phxass -opt-fconst -nowarn=62' +
|
||||
' -quiet -I{target}/os-include %s -o %s'),
|
||||
('-asv={target}/bin/vasmm68k_mot -Fhunk -phxass -opt-fconst -nowarn=62' +
|
||||
' -I{target}/os-include %s -o %s'),
|
||||
'-rm=rm %s',
|
||||
'-rmv=rm -v %s',
|
||||
('-ld=vlink -bamigahunk -x -Bstatic -Cvbcc -nostdlib' +
|
||||
('-ld={target}/bin/vlink -bamigahunk -x -Bstatic -Cvbcc -nostdlib' +
|
||||
' {target}/vbcc-lib/startup.o %s %s' +
|
||||
' -L{target}/vbcc-lib -L{target}/vbcc-include -lvc -o %s'),
|
||||
('-l2=vlink -bamigahunk -x -Bstatic -Cvbcc -nostdlib %s %s' +
|
||||
' -L{target}/vbcc-lib -L{target}/vbcc-include -o %s'),
|
||||
('-ldv=vlink -bamigahunk -t -x -Bstatic -Cvbcc -nostdlib'
|
||||
('-l2={target}/bin/vlink -bamigahunk -x -Bstatic -Cvbcc -nostdlib' +
|
||||
' %s %s -L{target}/vbcc-lib -L{target}/vbcc-include -o %s'),
|
||||
('-ldv={target}/bin/vlink -bamigahunk -t -x -Bstatic -Cvbcc -nostdlib' +
|
||||
' {target}/vbcc-lib/startup.o %s %s' +
|
||||
' -L{target}/vbcc-lib -L{target}/vbcc-include -lvc -o %s'),
|
||||
('-l2v=vlink -bamigahunk -t -x -Bstatic -Cvbcc -nostdlib %s %s' +
|
||||
' -L{target}/vbcc-lib -L{target}/vbcc-include -o %s'),
|
||||
('-l2v={target}/bin/vlink -bamigahunk -t -x -Bstatic -Cvbcc -nostdlib' +
|
||||
' %s %s -L{target}/vbcc-lib -L{target}/vbcc-include -o %s'),
|
||||
'-ldnodb=-s -Rshort',
|
||||
'-ul=-l%s',
|
||||
'-cf=-F%s',
|
||||
|
||||
Reference in New Issue
Block a user