URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gas/] [README] - Rev 229
Go to most recent revision | Compare with Previous | Blame | View Log
README for GASA number of things have changed since version 1 and the wonderfulworld of gas looks very different. There's still a lot of irrelevantgarbage lying around that will be cleaned up in time. Documentationis scarce, as are logs of the changes made since the last gas release.My apologies, and I'll try to get something useful.Unpacking and Installation - Summary====================================See ../binutils/README.To build just the assembler, make the target all-gas.Documentation=============The GAS release includes texinfo source for its manual, which can be processedinto `info' or `dvi' forms.The DVI form is suitable for printing or displaying; the commands for doingthis vary from system to system. On many systems, `lpr -d' will print a DVIfile. On others, you may need to run a program such as `dvips' to convert theDVI file into a form your system can print.If you wish to build the DVI file, you will need to have TeX installed on yoursystem. You can rebuild it by typing:cd gas/docmake as.dviThe Info form is viewable with the GNU Emacs `info' subsystem, or thestand-alone `info' program, available as part of the GNU Texinfo distribution.To build the info files, you will need the `makeinfo' program. Type:cd gas/docmake infoSpecifying names for hosts and targets======================================The specifications used for hosts and targets in the `configure'script are based on a three-part naming scheme, but some shortpredefined aliases are also supported. The full naming scheme encodesthree pieces of information in the following pattern:ARCHITECTURE-VENDOR-OSFor example, you can use the alias `sun4' as a HOST argument or in a`--target=TARGET' option. The equivalent full name is`sparc-sun-sunos4'.The `configure' script accompanying GAS does not provide any queryfacility to list all supported host and target names or aliases.`configure' calls the Bourne shell script `config.sub' to mapabbreviations to full names; you can read the script, if you wish, oryou can use it to test your guesses on abbreviations--for example:% sh config.sub i386vi386-unknown-sysv% sh config.sub i786vInvalid configuration `i786v': machine `i786v' not recognized`configure' options===================Here is a summary of the `configure' options and arguments that aremost often useful for building GAS. `configure' also has several otheroptions not listed here.configure [--help][--prefix=DIR][--srcdir=PATH][--host=HOST][--target=TARGET][--with-OPTION][--enable-OPTION]You may introduce options with a single `-' rather than `--' if youprefer; but you may abbreviate option names if you use `--'.`--help'Print a summary of the options to `configure', and exit.`-prefix=DIR'Configure the source to install programs and files under directory`DIR'.`--srcdir=PATH'Look for the package's source code in directory DIR. Usually`configure' can determine that directory automatically.`--host=HOST'Configure GAS to run on the specified HOST. Normally theconfigure script can figure this out automatically.There is no convenient way to generate a list of all availablehosts.`--target=TARGET'Configure GAS for cross-assembling programs for the specifiedTARGET. Without this option, GAS is configured to assemble .o filesthat run on the same machine (HOST) as GAS itself.There is no convenient way to generate a list of all availabletargets.`--enable-OPTION'These flags tell the program or library being configured toconfigure itself differently from the default for the specifiedhost/target combination. See below for a list of `--enable'options recognized in the gas distribution.`configure' accepts other options, for compatibility with configuringother GNU tools recursively; but these are the only options that affectGAS or its supporting libraries.The `--enable' options recognized by software in the gas distribution are:`--enable-targets=...'This causes one or more specified configurations to be added to those forwhich BFD support is compiled. Currently gas cannot use any format otherthan its compiled-in default, so this option is not very useful.`--enable-bfd-assembler'This causes the assembler to use the new code being merged into it to useBFD data structures internally, and use BFD for writing object files.For most targets, this isn't supported yet. For most targets where it hasbeen done, it's already the default. So generally you won't need to usethis option.Compiler Support Hacks======================On a few targets, the assembler has been modified to support a featurethat is potentially useful when assembling compiler output, but whichmay confuse assembly language programmers. If assembler encounters a.word pseudo-op of the form symbol1-symbol2 (the difference of twosymbols), and the difference of those two symbols will not fit in 16bits, the assembler will create a branch around a long jump tosymbol1, and insert this into the output directly before the nextlabel: The .word will (instead of containing garbage, or giving anerror message) contain (the address of the long jump)-symbol2. Thisallows the assembler to assemble jump tables that jump to locationsvery far away into code that works properly. If the next label ismore than 32K away from the .word, you lose (silently); RMS claimsthis will never happen. If the -K option is given, you will get awarning message when this happens.REPORTING BUGS IN GAS=====================Bugs in gas should be reported to:bug-binutils@gnu.org.They may be cross-posted to gcc-bugs@gnu.org if they affect the use ofgas with gcc. They should not be reported just to gcc-bugs, since notall of the maintainers read that list.See ../binutils/README for what we need in a bug report.
Go to most recent revision | Compare with Previous | Blame | View Log
