public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Re: how to install source navigator
@ 2001-08-16 16:41 David Robinson (AU)
  0 siblings, 0 replies; 4+ messages in thread
From: David Robinson (AU) @ 2001-08-16 16:41 UTC (permalink / raw)
  To: 'sourcenav@sources.redhat.com'; +Cc: 'mdejong@cygnus.com'

>On Wed, 13 Jun 2001, Shiqiang Shen wrote:
>
>> Sir,
>> I downloaded version 5.0 under linux but don't know how to install it.
>>
>> shen
>
>Here is the INSTALL.TXT file that will appear in the next release.
>Could you try these instructions out and tell us if they helped?
>
>Mo DeJong
>Red Hat Inc 


I have followed the INSTALL.TXT instructions to build Source Navigator
version 5.0 on Windows 2000 using Visual Studio version 6. Here are some
comments.

1) I was able to build the product by following the instructions. The hints
about the configure script were particularly useful.

2) The make files are currently configured for a debug build. The CFLAGS
provided will write debugging information into the .OBJ and .EXE files
("-Z7" option) and disable code optimisation ("-Od" option).

To configure the compiler for a release build, remove the "-Z7" option,
change the optimisation option to "-Ox" for full optimisation, and add the
"-Gi-" option to disable incremental compilation which can bloat the object
file.

To configure the linker for a release build, remove the "-DEBUG" option, and
add the "-INCREMENTAL:NO" option to disable incremental linking.

3) The CFLAGS compiler options are only recognised when the first letter is
specified in uppercase.

4) The Microsoft linker does not understand the "-Z7", "-Od" and "-lm"
options.


Hope this helps,
David Robinson

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to install source navigator
  2001-06-13 12:19 Shiqiang Shen
  2001-06-13 13:39 ` Mo DeJong
@ 2001-06-14 11:41 ` irox
  1 sibling, 0 replies; 4+ messages in thread
From: irox @ 2001-06-14 11:41 UTC (permalink / raw)
  To: Shiqiang Shen; +Cc: sourcenav

On Wed, 13 Jun 2001, Shiqiang Shen wrote:

> Sir,
> I downloaded version 5.0 under linux but don't know how to  install it.

Assuming that you have the binary. You should be able to run it from
the directory you untar'd it into.

If you are running a more off-beat or custom linux version then
you may want to download and build the source (this will avoid any
library version mismatches some people have complained about).

Ian.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to install source navigator
  2001-06-13 12:19 Shiqiang Shen
@ 2001-06-13 13:39 ` Mo DeJong
  2001-06-14 11:41 ` irox
  1 sibling, 0 replies; 4+ messages in thread
From: Mo DeJong @ 2001-06-13 13:39 UTC (permalink / raw)
  To: sourcenav

On Wed, 13 Jun 2001, Shiqiang Shen wrote:

> Sir,
> I downloaded version 5.0 under linux but don't know how to  install it.
> 
> shen

Here is the INSTALL.TXT file that will appear in the next release.
Could you try these instructions out and tell us if they helped?

Mo DeJong
Red Hat Inc

-----------------------------

Binary Install:

To install a binary release of Source-Navigator, extract the
files from the archive and add the sourcenav-5.0.1/bin
directory to your PATH. There is no need to run an installer.
You can run Source-Navigator from the command line using the
snavigator script. Windows users can also double-click on
the snavigator.exe executable in the Windows Explorer.

Generic Build Notes:

These build/install instructions assume that you have already
downloaded and extracted the files from the zip or tar file.

We suggest building outside of the source directory. This way, all
build related files for a specific architecture are stored outside
of the source directory. This makes it easy to build multiple
executables from a single source tree.

We suggest building outside of the src directory, this might
be a new concept for most users, but it is really quite simple
once you get the hang of it. With a build dir, all build
related files for a specific architecture are stored outside
of the src directory, so you can build multiple executables
from the same source tree.

UNIX Build:

To build under a UNIX system, simply create a build directory
and run the configure script. The following commands assume
the release is 5.0.1 and that the user wants to install
into a non-default location (/usr/sourcenav).

% mkdir snbuild ; cd snbuild
% ../sourcenav-5.0.1/configure --prefix=/usr/sourcenav
% make
% make install

Windows Build (VC++):

Building under Windows is more tricky when compared to the UNIX
build. Be sure to follow the build instructions exactly. Note
that VC++ 6.0 is the only supported compiler at this time.

Windows versions of Source-Navigator are created using the VC++
compiler and Cygwin. One needs to run the vcvars32.bat script
to setup the needed env vars. Typically, this is done by starting
command.com on Windows 95/98 or cmd.exe under NT, then
run the vcvars32.bat script in the VC++ bin directory.

After VC++ env vars are setup, start a bash shell by cd'ing to
the Cygwin root directory and running cygwin.bat. In the bash
shell, run the following commands.

% export CC=cl
% export CFLAGS="-Z7 -Od"

You can now run the configure script in the normal way. Of course,
there are a couple of things to take note of. First, the configure
script must be run with a relative path (../sourcenav-5.0.1/configure).
Second, the --prefix path must be passed as a fully qualified Windows
style path containing forward slashes (like D:/Cygwin/usr/sourcenav).
The following example shows how /usr/sourcenav mounted at
D:/Cygwin/usr/sourcenav would be passed.

% mkdir snbuild ; cd snbuild
% ../sourcenav-5.0.1/configure --prefix=D:/Cygwin/usr/sourcenav
% make
% make install


^ permalink raw reply	[flat|nested] 4+ messages in thread

* how to install source navigator
@ 2001-06-13 12:19 Shiqiang Shen
  2001-06-13 13:39 ` Mo DeJong
  2001-06-14 11:41 ` irox
  0 siblings, 2 replies; 4+ messages in thread
From: Shiqiang Shen @ 2001-06-13 12:19 UTC (permalink / raw)
  To: sourcenav

Sir,
I downloaded version 5.0 under linux but don't know how to  install it.

shen

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-16 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 16:41 how to install source navigator David Robinson (AU)
  -- strict thread matches above, loose matches on Subject: below --
2001-06-13 12:19 Shiqiang Shen
2001-06-13 13:39 ` Mo DeJong
2001-06-14 11:41 ` irox

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).