| www.retrosoftware.co.uk http://www.retrosoftware.co.uk/forum/ |
|
| BeebAsm 0.06 http://www.retrosoftware.co.uk/forum/viewtopic.php?f=17&t=26 |
Page 1 of 1 |
| Author: | RichTW [ Tue Jan 22, 2008 7:26 pm ] |
| Post subject: | BeebAsm 0.06 |
Hi, There's a new version of BeebAsm on the wiki page now, which fixes a bug which Dave F discovered. It's sorted now Cheers! |
|
| Author: | RichTW [ Tue Jan 22, 2008 7:27 pm ] |
| Post subject: | Re: BeebAsm 0.06 |
Oh, just to say... Dave M - could you mirror it on the BeebAsm page at stairwaytohell.com/beebasm please? Ta! |
|
| Author: | JonW [ Tue Jan 22, 2008 10:05 pm ] |
| Post subject: | Re: BeebAsm 0.06 |
Compiling on my Mac produces two warnings :
asmexception.h:40: warning: ‘class AsmException_FileError’ has virtual functions but non-virtual destructor Adding :
and
to the relevant classes in asmexception.h overcomes the warnings and the code compiles (and works !) OK. Jon. |
|
| Author: | JonW [ Tue Jan 22, 2008 10:07 pm ] |
| Post subject: | Re: BeebAsm 0.06 |
Forgot, Also had to :
in expression.cpp and alter makefile.inc to removed references to c:\... in declares for CC, CXX etc. |
|
| Author: | RichTW [ Tue Jan 22, 2008 10:46 pm ] |
| Post subject: | Re: BeebAsm 0.06 |
Ah, cheers Jon! I'd been meaning to ask if anyone would like to try compiling it on another platform to see if it worked ok. Curious that GCC let the non-virtual destructors through... I compile with -pedantic, and I'd already caught the warning once, which was why AsmException_SyntaxError does have a virtual destructor. Also cheers for the <errno.h> thing - didn't know it had its own header file. I'll make sure these changes go into the next version. Glad to hear it works ok on Mac too |
|
| Author: | nicolagiacobbe [ Thu Mar 27, 2008 5:50 pm ] |
| Post subject: | Re: BeebAsm 0.06 |
Not exactly 'another platform' but I have tried it with wineconsole under linux and works fine. I think at the end I will convert it to run natively under Linux but for now I will keep it running with wine. |
|
| Author: | nicolagiacobbe [ Thu Mar 27, 2008 6:07 pm ] |
| Post subject: | Re: BeebAsm 0.06 |
Following JonW's suggestions I have been able to compile it under Linux. Here are the diffs: src/Makefile < TARGET := ../beebasm.exe --- > TARGET := ../beebasm src/Makefile.inc < CC := C:/MinGW/bin/gcc < CXX := C:/MinGW/bin/gcc < LD := C:/MinGW/bin/gcc < MKDIR := C:/Cygwin/bin/mkdir -p < RM := C:/Cygwin/bin/rm -f < ECHO := @@C:/Cygwin/bin/echo -e --- > CC := gcc > CXX := gcc > LD := gcc > MKDIR := mkdir -p > RM := rm -f > ECHO := echo -e src/asmexception.h > virtual ~AsmException() {} src/expression.cpp > #include <errno.h> |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|