This is the mail archive of the mailing list for the SID project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building SID

I synced the source just a minute ago, but the same compile problem is
still there. I had some time left to look at the issue.

Regarding SH, the problem relates to the sh2_cpu class in the sh2.h file:

 class sh2_cpu: public

I didn't investigate further for now, but modified

//#define SIDTARGET_SH @sidtarget_sh@
//#define SIDTARGET_SH64 @sidtarget_sh64@

That omits the SH target it seems.

Since I would like to try sid for more than one target (ARM and x86) I
tried to figure out if there would be an option for including all
targets *but* specific ones. The way sidtargets.m4 is written however,
it seems possible only to add targets explicitly. I'll see if I can
rewrite the logic so that both explicit inclusion and explicit
omission would be possible (i.e. something like
--disable-targets=<LIST> would be nice).

The build is then OK until component ARM is compiled.

Compiling the files arm.cxx and compTIMERS.cxx both give the same error:

error: looser throw specifier for 'virtual
error: overriding 'virtual armTimer::~armTimer() throw ()'

I made the following change:

Index: sid/component/timers/arm7t/arm7t-timer.h
RCS file: /cvs/src/src/sid/component/timers/arm7t/arm7t-timer.h,v
retrieving revision 1.3
diff -r1.3 arm7t-timer.h
<   ~armTimer() throw () { }
~armTimer() { throw (1); }

Have a look if the pach seems OK.

The build now succedes and I'm looking forward to try sid...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]