compile a *.ccp File [message #85438] |
Tue, 11 November 2003 16:06  |
Eclipse User |
|
|
|
Originally posted by: sonstiges.kod-clan.net
Hi,
I have installed the PlugIn fpr C/C++. But I can not compile the *.cpp
File. I have read the Help, but I get following message:
____________________________________________________________ ______________
make -k clean all
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Incorrect command line argument: -k
Syntax: MAKE [options ...] target[s]
-B Builds all targets regardless of dependency dates
...
-? or -h Prints this message
Options marked with '+' are on by default. To turn off a default
option follow it by a '-', for example: -a-
____________________________________________________________ ______________
The makefile:
____________________________________________________________ ______________
all: ***.exe
clean:
rm main.o ***.exe
hello.exe: main.o
g++ -g -o *** main.o
main.o:
g++ -c -g ***.cpp
____________________________________________________________ ______________
How can I compile the *.cpp File? Please help.
nemesis
|
|
|
|
Re: compile a *.ccp File [message #85485 is a reply to message #85438] |
Wed, 12 November 2003 13:32  |
Eclipse User |
|
|
|
Originally posted by: se01036.fh-hagenberg.at
You haven't mentioned what operation system you are using. Because of the
fact that i don't know any Borland tool for unix/linux I assume you're a
Windows user:
Your plugin uses the Borland make (for example part of borland pascal 7.0)
instead of the gnu make program. The CDT plugin only works with the gnu make
program. This is for example included in cygwin, a Linux-like environment
for Windows.
So if you haven't already installed cygwin download it from www.cygwin.com
and install it. Then add the /bin directory of your cygwin installation to
the system path variable. To guarantee that CDT uses the make program of
cygwin you have to remove the entry in the system path variable that refers
to the the borland make program (that will probably be a path to some
Borland development tool)
I hope that will help you ...
Roland
"Nemesis" <sonstiges@kod-clan.net> schrieb im Newsbeitrag
news:borj0i$f25$1@eclipse.org...
> Hi,
>
> I have installed the PlugIn fpr C/C++. But I can not compile the *.cpp
> File. I have read the Help, but I get following message:
> ____________________________________________________________ ______________
> make -k clean all
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> Incorrect command line argument: -k
>
> Syntax: MAKE [options ...] target[s]
> -B Builds all targets regardless of dependency dates
> ..
> -? or -h Prints this message
> Options marked with '+' are on by default. To turn off a default
> option follow it by a '-', for example: -a-
> ____________________________________________________________ ______________
>
>
> The makefile:
> ____________________________________________________________ ______________
> all: ***.exe
>
> clean:
> rm main.o ***.exe
>
> hello.exe: main.o
> g++ -g -o *** main.o
>
> main.o:
> g++ -c -g ***.cpp
> ____________________________________________________________ ______________
>
>
> How can I compile the *.cpp File? Please help.
>
> nemesis
>
|
|
|
Powered by
FUDForum. Page generated in 0.16907 seconds