This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Next Step
>>>>> "Shehryar" == Shehryar Humayun <shehryarhumayunkhan@yahoo.com> writes:
Shehryar> CGENDIR=@cgendir@ variable still needs a workaround
Shehryar> though. Either you change it manually to your CGEN
Shehryar> source directory or create binutils/cgen and copy all
Shehryar> the source files (*.scm,cpu) into it.
Shehryar> This is due to the fact the value of @cgendir@ is set
Shehryar> to "@srcdir@/../cgen" in <build>/opcodes/Makefile
Shehryar> where srcdir=/root/src/binutils/opcodes/
Shehryar> Am I right?
This is because most people use CGEN in the same source tree as
binutils:
src
\- opcodes
\- bfd
\- libiberty
\- cgen
\- gas
\- etc
Thus, opcodes/Makefile can find the CGEN sources by referring to
../cgen from its own source directory. The directory layout I have
shown above is the one used when checking out `cgen' from the
sources.redhat.com:/cvs/src repository, which is where you should be
getting your sources from (not from the 1.0 release tar file).
Hmm .. I guess it's time for another release?
Ben