eclipse R2.0, cdt, Linux and windows [message #38103] |
Wed, 17 July 2002 02:42  |
Eclipse User |
|
|
|
Is a complete Version of cdt available for eclipse R2.0? I have problems
with the "initial"-Version under Win2000. I installed cygwin, put
.../cygwin/bin in my PATH, but it doesnt work. Should it work under Linux?
If a new Version for cdt and eclipse appear to download, is it working
with MinGW (to build Win-Executables without GNU-Libs)?
I think it would be a good choice to support UNIX c/c++ and win c/c++,
because native parts oj java-programms need to be run on both
plattforms. It is possible to use mingw (www.mingw.org) to create
win-execs in unix-style programming.
best regards
Matthias
|
|
|
Re: eclipse R2.0, cdt, Linux and windows [message #38396 is a reply to message #38103] |
Sat, 20 July 2002 02:52  |
Eclipse User |
|
|
|
Originally posted by: grenoml.yahoodot.com
Matthias Gottschlich wrote:
> Is a complete Version of cdt available for eclipse R2.0? I have problems
> with the \\\"initial\\\"-Version under Win2000. I installed cygwin, put
> .../cygwin/bin in my PATH, but it doesnt work. Should it work under Linux?
> If a new Version for cdt and eclipse appear to download, is it working
> with MinGW (to build Win-Executables without GNU-Libs)?
> I think it would be a good choice to support UNIX c/c++ and win c/c++,
> because native parts oj java-programms need to be run on both
> plattforms. It is possible to use mingw (www.mingw.org) to create
> win-execs in unix-style programming.
> best regards
> Matthias
I was able to get CDT working under Eclipse on Windows by setting up a
Makefile that set a PATH and SHELL at the top and all: and clean: targets.
The PATH had the paths to the cygwin executables and the SHELL was
pointed to bash. The only other thing that was necessary was to go in
and change the build command from default and give it the path to cygwin
make. Now Project, Rebuild All is working.
PATH=/usr/local/bin:/usr/bin:/bin
SHELL=.../bash
all:
gcc ...
clean:
rm my.exe my.o
----
in properties, build settings:
build command: .../make (cygwin)
grenoml@yahoodotcom
|
|
|
Powered by
FUDForum. Page generated in 0.04083 seconds