From: Nick Clifton <nickc@redhat.com>
To: Houda Benabderrazik <hbena76@yahoo.fr>
Cc: binutils@sources.redhat.com
Subject: Re: How to test binutils?
Date: Wed, 05 May 2004 17:30:00 -0000 [thread overview]
Message-ID: <40992595.8080809@redhat.com> (raw)
In-Reply-To: <20040505164945.578.qmail@web60402.mail.yahoo.com>
Hi Houda,
>Thank you very much for your answer Nick,
>Do i have to write all this files before testing any
>one?
>
>
Yes. You can test to see if an individual file will just compile
without needing the other files, but in order to build any of the
binutils (gas, ld, objdump, etc) you are going to need all of these
files. Oh and you will probably need to create an include/elf/<name.h>
file as well.
The good news is that you can use the existing files in these
directories as examples of how to create the new files. Simply choose a
port that you think is quite similar to your own (same size
instructions, similar endian-ness, etc) and look to see what files were
created for that port and what they contain.
>I want to know if there is the only method for
>testing?
>So, I can not for example just making a makefile.
>Can i test without building cross-target?
>
>
Sorry no. The makefiles are automatically generated by the configure
scripts. So you need to run configure (and hence attempt to build a
cross-targeted toolchain) in order to create the makefiles. You can
break this down however. For example you do not need to create the
files in ld/ in order to build GAS. Similarly you do not need the files
in gas/ in order to build the linker. You will need the files in bfd/
opcodes/ and include/elf though for both the assembler, the linker and
the other binary utilities.
Cheers
Nick
prev parent reply other threads:[~2004-05-05 17:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-30 10:43 Houda Benabderrazik
2004-05-05 15:58 ` Nick Clifton
2004-05-05 16:49 ` Houda Benabderrazik
2004-05-05 17:30 ` Nick Clifton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40992595.8080809@redhat.com \
--to=nickc@redhat.com \
--cc=binutils@sources.redhat.com \
--cc=hbena76@yahoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).