public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
From: "HuangQiang" <jameshq@liverpool.ac.uk>
To: "Source Navigator" <sourcenav@sourceware.cygnus.com>
Subject: Help for setting the source navigator
Date: Thu, 22 Nov 2001 02:57:00 -0000	[thread overview]
Message-ID: <KIEBICHBADHFCLGCKOPDGEAMCKAA.jameshq@liv.ac.uk> (raw)

Dear all:
   I am just starting use the source navigator 5.0.  I am based on win2000,
I have the cygwin installed and development tools: gcc, gdb, g++, ld, ....
(Net release). Is it possible for me to use source navigator with the
cygwin? I did try to use it, but when I try to build the program it fails.
The following is my setting for the source navigator.

1. Build Rules:
Yacc =>  C:\cygwin\bin\bison.exe
Lex => C:\cygwin\bin\flex.exe
C => C:\cygwin\bin\gcc.exe
C++ => C:\cygwin\bin\g++.exe

Include Tab: c:/cygwin/include

2 .Link Rules
Linker:  which should I put in this option: C:\cygwin\bin\gcc.exe ?  or
C:\cygwin\bin\ld.exe ?

3.
File -> Project Preference -> others -> Build -> "C:\cygwin\bin\make.exe"
File -> Project Preference -> others -> Insight Debugger command ->
C:\cygwin\bin\gdb.exe

5.
Tools -> Build -> Build Command: C:\cygwin\bin\make.exe (Is this right?)

4.
Simple Application to be built.

/* this is a simple hello world program */
#include <stdio.h>

int main(void)
{
  printf("Hello, eCos world!\n");
  return (0);
}


When I try to build above application I got the following error message:

rm -f *.o
rm -f testbuild.exe
make: rm: Command not found
make: *** [clean] Error 127
+++ End +++

But when I try to type "rm" command in cygwin (bash) it is there. ( I can
excute the rm command in bash)

When I made a force build:

Error message:

c:\cygwin\bin\gcc.exe -c /d/Project/test/./hello.c -IC:/cygwin/include
make: C:cygwinbingcc.exe: command not found
make: ***[hello.o] Error 127
make: Target 'all' not remade because of errors
+++ End +++



Thanks for every help.


Best regards!



james

                 reply	other threads:[~2001-12-07 21:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=KIEBICHBADHFCLGCKOPDGEAMCKAA.jameshq@liv.ac.uk \
    --to=jameshq@liverpool.ac.uk \
    --cc=sourcenav@sourceware.cygnus.com \
    /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).