[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-dejagnu] dejagnu compile error

From: Tim Berke
Subject: [Bug-dejagnu] dejagnu compile error
Date: Tue, 04 Feb 2003 13:34:18 +0000

         How To Configure and Build

 To build DejaGnu, run the ``configure'' script here, e.g.:

        ./configure MYHOSTTYPE

followed by running ``make''.  (MYHOSTTYPE is a name for your host
for instance "sun4".  You can use the script ``config.sub'' to test
a name is recognized; if it is, config.sub translates it to a triplet
specifying CPU, vendor, and OS.) This is used when you plan to
configure and build in the source tree.

  If you use a separate tree for object files, (the recommended way),
then the --srcdir option must also be specified. This would also
require that the configure script be run from the top level directory.


where PATH is is the directory that the contains the sources.

  To configure it so it gets installed somewhere other than the
default of /usr/local, use the --prefix option.

 configure MYHOSTYPE --prefix [PATH]

where PATH is the prefix used to install the programs.

  The configure testing and building will use the native compiler "cc"
on your host machine. To change which compiler gets used (like gcc)
set a the variable "CC" in your environment to point to it.

 For csh users:  "setenv CC gcc"
 For bourne shell users: "CC=gcc;export CC"

  Then when you compile, use "make CC=$CC".

See /usr/doc/dejagnu-$version/overview/book1.html or
/usr/doc/dejagnu-$version/overview.ps for  for more details.

 As DejaGnu is a Tcl program, there is little to build. However, the
documentation is not built by default. Use these targets:
"make overview.html" - Generate the html formatted documentation from
    the SGML source.
"make overview.ps" - Generate the Postscript formatted documentation
    the SGML source.

  / /\/  Tim Berke                        E-mail:address@hidden
  \ \    Staff Engineer, CAD              Tel:  +353-1-4032428
  / /    Xilinx, Inc.                     Fax:  +353-1-4032136
  \_\/\  Logic Drive, Citywest Business Campus, Saggart, Co. Dublin, Ireland

reply via email to

[Prev in Thread] Current Thread [Next in Thread]