From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24630 invoked by alias); 7 Dec 2001 21:43:31 -0000 Mailing-List: contact sourcenav-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sourcenav-owner@sources.redhat.com Received: (qmail 24393 invoked from network); 7 Dec 2001 21:42:12 -0000 From: "HuangQiang" To: "Source Navigator" Subject: Help for setting the source navigator Date: Thu, 22 Nov 2001 02:57:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-SW-Source: 2001-q4/txt/msg00036.txt.bz2 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 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