Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » C-Build make
C-Build make [message #47034] Thu, 24 October 2002 08:06 Go to next message
Eclipse UserFriend
Originally posted by: dieschemm.t-online.de

Hello,

I am running Eclipse 2.0.1 with CDT F3 on QNX Neutrino.

I make a Hello World Program and try to build an exutable.
Now I get an error message in the C-Build Window

If I save the *.c file I get this error message
make
make: *** No targets specified and no makefile found. Stop.

If I do Project/Rebuild Project I get this Error message
make clean all
make: *** No rule to make target 'clean'. Stop.

If I do Project/Rebuild All I get this message
make -k clean all
make: *** No rule to make target 'clean'.
make: *** No rule to make target 'all'.


Inside a shell, the command 'make clean all' or only 'make' works well.

Thanks for your help
Re: C-Build make [message #47064 is a reply to message #47034] Thu, 24 October 2002 08:11 Go to previous messageGo to next message
Eclipse UserFriend
May be you forgot to write makefile or put it down in incorrect place....


Hope it helps,
Igor S. Zamyatin
Interstron Ltd.
----------------------------------------
email: isz@interstron.ru
tel: +7 (095) 269-4713
cell: +7 (902) 659-5838
www: http://www.interstron.ru


Dieter Schemmelmann wrote:

> Hello,

> I am running Eclipse 2.0.1 with CDT F3 on QNX Neutrino.

> I make a Hello World Program and try to build an exutable.
> Now I get an error message in the C-Build Window

> If I save the *.c file I get this error message
> make
> make: *** No targets specified and no makefile found. Stop.

> If I do Project/Rebuild Project I get this Error message
> make clean all
> make: *** No rule to make target 'clean'. Stop.

> If I do Project/Rebuild All I get this message
> make -k clean all
> make: *** No rule to make target 'clean'.
> make: *** No rule to make target 'all'.


> Inside a shell, the command 'make clean all' or only 'make' works well.

> Thanks for your help
Re: C-Build make [message #47094 is a reply to message #47064] Thu, 24 October 2002 08:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dieschemm.t-online.de

the makefile and the Hello.c is in the project directory.


"Igor S. Zamyatin" schrieb:
>
> May be you forgot to write makefile or put it down in incorrect place....
Re: C-Build make [message #47123 is a reply to message #47094] Thu, 24 October 2002 10:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: johan.nosp.m.appeal.se

Shouldn't it be named "Makefile" and not "makefile"?

Cheers //Johan

Dieter Schemmelmann wrote:
> the makefile and the Hello.c is in the project directory.
>
>
> "Igor S. Zamyatin" schrieb:
>
>> May be you forgot to write makefile or put it down in incorrect place....
>
Re: C-Build make [message #47185 is a reply to message #47123] Thu, 24 October 2002 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dieschemm.t-online.de

Thanks but it make no difference between Makefile and makefile

make is searching for booth.

Inside a shell make works well.


Johan Walles schrieb:
>
> Shouldn't it be named "Makefile" and not "makefile"?
>
> Cheers //Johan
>
Re: C-Build make [message #47202 is a reply to message #47185] Thu, 24 October 2002 10:25 Go to previous messageGo to next message
Eclipse UserFriend
Try to use Eclipse Debugger to find out what happens if you want.

You may start investigation from org.eclipse.cdt.core.CBuilder class and
function "build"


Igor S. Zamyatin

> Thanks but it make no difference between Makefile and makefile

> make is searching for booth.

> Inside a shell make works well.


> Johan Walles schrieb:
> >
> > Shouldn't it be named "Makefile" and not "makefile"?
> >
> > Cheers //Johan
> >
Re: C-Build make [message #47226 is a reply to message #47202] Thu, 24 October 2002 10:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dieschemm.t-online.de

How can I start the eclipse debugger I have the complete sdk
environment but never start the debugger.

"Igor S. Zamyatin" schrieb:
>
> Try to use Eclipse Debugger to find out what happens if you want.
>
> You may start investigation from org.eclipse.cdt.core.CBuilder class and
> function "build"
>
> Igor S. Zamyatin
>
Re: C-Build make [message #47256 is a reply to message #47202] Thu, 24 October 2002 11:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dieschemm.t-online.de

Or where is the best starting point in documentation to compile and
debug eclipse itself ?

"Igor S. Zamyatin" schrieb:
>
> Try to use Eclipse Debugger to find out what happens if you want.
>
> You may start investigation from org.eclipse.cdt.core.CBuilder class and
> function "build"
>
> Igor S. Zamyatin
>
Re: C-Build make [message #47416 is a reply to message #47226] Fri, 25 October 2002 01:57 Go to previous messageGo to next message
Eclipse UserFriend
You need to start Eclipse(parent) and choose "Debug as Runtime
WorkBench" and then New workbench(child) will appear. You need to open CDT
Perspective in child, create there C++ Project, and then build them. In
the same time in the parent you can set breakpoints, step, stop, run
process in child workbench and so on.


Igor S. Zamyatin

> How can I start the eclipse debugger I have the complete sdk
> environment but never start the debugger.

> "Igor S. Zamyatin" schrieb:
> >
> > Try to use Eclipse Debugger to find out what happens if you want.
> >
> > You may start investigation from org.eclipse.cdt.core.CBuilder class and
> > function "build"
> >
> > Igor S. Zamyatin
> >
Re: C-Build make [message #47477 is a reply to message #47416] Fri, 25 October 2002 06:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dieschemm.t-online.de

First I get no choice for JRE (Runtime environment)
Forgot to launch j9 (special qnx problem)

Eclipse seem to run in debug mode (it run two times parent und work)

But now I have no choice to set breakpoints. In windows I have only the
possibility to set breakpoints on exception functions in qnx I have no
choice for breakpoints.

On this weekend I will setup a unix PC to compare actions on qnx and on
unix.

Thanks for your help

Dieter Schemmelmann


"Igor S. Zamyatin" schrieb:
>
> You need to start Eclipse(parent) and choose "Debug as Runtime
> WorkBench" and then New workbench(child) will appear. You need to open CDT
> Perspective in child, create there C++ Project, and then build them. In
> the same time in the parent you can set breakpoints, step, stop, run
> process in child workbench and so on.
>
> Igor S. Zamyatin
>
Re: C-Build make [message #47841 is a reply to message #47034] Tue, 29 October 2002 02:43 Go to previous message
Eclipse UserFriend
Originally posted by: jhering.avecs-bergen.de

Hallo Dieter,

please try to use in Build Settings -> Build Command
make -C <your directory where the Makefile is located"

and here an sample Makefile which work as discribed

CC = cc
CFLAGS = -g2 -I./

LD_FLAGS = -lform -lmenu -lpanel -lncurses -lsocket

..c.o:
$(CC) -c $(CCFLAGS) $<
all: modbus

modbus:modbus.c
$(CC) $(CFLAGS) $@.c $(LD_FLAGS) -o $@

clean:
rm -f modbus




Dieter Schemmelmann wrote:

>Hello,
>
>I am running Eclipse 2.0.1 with CDT F3 on QNX Neutrino.
>
>I make a Hello World Program and try to build an exutable.
>Now I get an error message in the C-Build Window
>
>If I save the *.c file I get this error message
>make
>make: *** No targets specified and no makefile found. Stop.
>
>If I do Project/Rebuild Project I get this Error message
>make clean all
>make: *** No rule to make target 'clean'. Stop.
>
>If I do Project/Rebuild All I get this message
>make -k clean all
>make: *** No rule to make target 'clean'.
>make: *** No rule to make target 'all'.
>
>
>Inside a shell, the command 'make clean all' or only 'make' works well.
>
>Thanks for your help
>
>

--
____________________________________________________________ _
Joerg Hering
Chief Developer VDR
e-mail: jhering@avecs-bergen.de
privat: hering.ruegen@t-online.de
mobile: jhering.ruegen@gmx.de
------------------------------------------------------------ -
AVECS Bergen GmbH
development department
Billrothstraße 11a
D-18528 Bergen auf Rügen
------------------------------------------------------------ -
Tel.: +49 3838 2119101
Fax: +49 3838 2119105
Mobile: +49 172 3896974
URL: http://www.avecs-bergen.de
____________________________________________________________ _
Previous Topic:NEWB Question - Error Highlighting -Why
Next Topic:CDT process spawner
Goto Forum:
  


Current Time: Wed Apr 16 04:11:36 EDT 2025

Powered by FUDForum. Page generated in 0.04206 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top