[patch] cgen/i960, desc vs configure wrt PROFILE
Frank Ch. Eigler
fche@redhat.com
Mon Feb 5 16:40:00 GMT 2001
Hi -
On Mon, Feb 05, 2001 at 07:26:05PM -0500, DJ Delorie wrote:
: Configure adds -DPROFILE=1 to the build, but i960-desc.c uses
: A(PROFILE) and ends up with CGEN_HW_1 being undefined. OK to commit
: these two?
Upon looking again at this recurrent problem, I'm sure that merely
#undef-ing is the wrong solution.
: I tried rebuilding the i960 with latest cgen, but that
: broke even worse. [...]
Eek - that should work!
In the mean time, consider copying the definition of the "A()" macro
from more recently generated sims, into i960-desc.c:
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define A(a) (1 << CGEN_HW_##a)
#else
#define A(a) (1 << CGEN_HW_/**/a)
#endif
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6f0gNVZbdDOm/ZT0RAqcgAJ4vrh1C8q6V9D7VBm0Sb/wUil0bQwCfbFex
k7A3HQdO6NotOSwcKp2DFX0=
=O4hh
-----END PGP SIGNATURE-----
More information about the Cgen
mailing list