Re: Fwd: Regarding the sid simulator [patch][commit]
"Frank Ch. Eigler" <[email protected]> Wed, 29 Nov 2006 16:33:27 -0500
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi - > >Would it be possible to simply always compile in the shCfg.cxx file? > >Protect it with an embedded #if SIDTARGET_SH | SIDTARGET_SH64 > >if you really must. > > Well yes, of course it would. It just seemed wasteful. Similar to how we > don't compile/link in the bits which support unspecified targets in > sid/component/cgen-cpu. The costs (compile time / object size) are of a different magnitude. We don't rip out unconfigured platforms out of configrun-sid.pl either - they just won't work. Plus, if you add the #if/#endif thing I mentioned, the costs of including a dummy shCfg.cxx are approximately zero. - FChE