[Ktechlab-devel] Another odd issue with gpsim on OSX.

Bryn Davies curious at progsoc.uts.edu.au
Fri Mar 3 07:48:52 UTC 2006


  Seems to have an issue with not recognising any supported chips -  
this leads to a variety of odd errors in kTechLab along the lines of  
"problem with cod file".  Mikey Sklar ( <sklarm at electric- 
clothing.com> ) has a patch that seems to fix this behavior, at least  
in my case, bundled with his fink builds of gpsim 0.21.11:

--8<-cut here-8<--

--- gpsim-0.21.11/src/processor.cc      2005-10-01 17:12:55.000000000  
-0400
+++ gpsim-0.21.11-cvs/src/processor.cc  2005-10-08 08:17:04.000000000  
-0400
@@ -1970,7 +1970,7 @@
    return cpu_constructor();
}
-ProcessorConstructorList * ProcessorConstructor::processor_list =  
new ProcessorConstructorList();
+ProcessorConstructorList * ProcessorConstructor::processor_list;
ProcessorConstructorList * ProcessorConstructor::GetList() {
    if(processor_list == NULL) {

--8<-cut here-8<--

  If non-mac people try this out and it doesn't cause problems for  
other people, perhaps it could be folded into the patch on the  
ktechlab web page?

  Also, very happy to see my patch find it's way into SVN, but it  
would be nice if I could figure out a way to make configure set - 
DDARWIN automatically.  Sadly, I don't know much about configure. :-(

  Cheers,
   B.

-- 
curious at progsoc.uts.edu.au              | Assistant Language Teacher
http://progsoc.org/~curious/            | Kasukabe Board of Education
http://livejournal.com/users/curious_jp | Saitama Prefecture, Japan







More information about the Ktechlab-devel mailing list