public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Help for setting the source navigator
@ 2001-11-22  2:57 HuangQiang
  0 siblings, 0 replies; only message in thread
From: HuangQiang @ 2001-11-22  2:57 UTC (permalink / raw)
  To: Source Navigator

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-07 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-22  2:57 Help for setting the source navigator HuangQiang

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