GCBASIC needs avrasm2 to compile for AVRs. This is installed along with AVR Studio. You'll need to replace the contents of assemble.bat with this:
@ECHO OFF
"C:\Program Files\Atmel\AVR Tools\AvrAssembler2\avrasm2" -v0 compiled.asm>compiled.err 2>&1
GCBASIC isn't properly adapted for AVR yet, and it won't be for 1 to 3 more weeks. Many of the .h files (a-d.h, eeprom.h, etc) have not been altered, and there are a few issues with register usage that may need attention.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I would like to use GCBASIC to compile AVR code. How can I use it ? what will be settings in .bat files ? which assembler to be used ?
Kindly give some hints on above quarries. Thanks for your support.
Regards,
Deepak Chatwani
GCBASIC needs avrasm2 to compile for AVRs. This is installed along with AVR Studio. You'll need to replace the contents of assemble.bat with this:
@ECHO OFF
"C:\Program Files\Atmel\AVR Tools\AvrAssembler2\avrasm2" -v0 compiled.asm>compiled.err 2>&1
GCBASIC isn't properly adapted for AVR yet, and it won't be for 1 to 3 more weeks. Many of the .h files (a-d.h, eeprom.h, etc) have not been altered, and there are a few issues with register usage that may need attention.
Hello,
Thanks for your quick reply. I am waiting for AVR port to complete.
Regards,
Deepak Chatwani....