This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: How do I run CGEN?
Hi -
On Fri, Mar 17, 2006 at 06:28:12AM -0800, Lindley, Robert A wrote:
> Is there a preliminary, draft, or working copy of Chapter 2?
> Is someone working on it?
No. If I was being naughty, I'd say "don't run cgen; let make do it
when needed". When you copy/rename an existing target, the Makefiles
will contain the appropriate constructs to run cgen.
> Perhaps if I made notes on my adventure through this maze
> it would be of some help?
Sure.
> To someone who knows the inner workings of gas and ld, cgen may
> seems easy and intuitive. However, I am starting this journey from
> square zero. [...]
An important thing to understand is that CGEN is only able to automate
the few roughly "table-driven" portions of the porting process. A lot
of hand-written gas/bfd/ld/simulator code is still needed, little of
which is cgen-specific and therefore not really appropriate for
documentation here.
- FChE