|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Most of the work in making GDB compile on a new machine is in
specifying the configuration of the machine. This is done in a
dizzying variety of header files and configuration scripts, which we
hope to make more sensible soon. Let's say your new host is called an
xyz (e.g., `sun4'), and its full three-part configuration
`sparc-sun-sunos4'). In particular:
arch-xvend-xos. You can test your changes by running
which should both respond with
and no error messages.
You need to port BFD, if that hasn't been done already. Porting BFD is beyond the scope of this manual.
gdb_hostto xyz, and (unless your desired target is already available) also edit `gdb/configure.tgt', setting
gdb_targetto something appropriate (for instance, xyz).
Maintainer's note: Work in progress. The file `gdb/configure.host' originally needed to be modified when either a new native target or a new host machine was being added to GDB. Recent changes have removed this requirement. The file now only needs to be modified when adding a new native configuration. This will likely changed again in the future.
|[ << ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Please send FSF & GNU inquiries & questions to email@example.com. There are also other ways to contact the FSF.
These pages are maintained by the GDB developers.
Copyright Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.This document was generated by GDB Administrator on March, 31 2007 using texi2html