Home » Language IDEs » C / C++ IDE (CDT) » cygwin update...build command
cygwin update...build command [message #60414] |
Sat, 01 February 2003 06:44 |
Eclipse User |
|
|
|
Originally posted by: peterdnight._nospam_yahoo.com
Hi All,
Running eclipse 2.02, latest CDT,...on Win XP , cygwin
I had to set the build command to: bash -c make -f Makefile
Just running make itself seems to drop stderr, ie. compile errors were not
being output. Adding bash to the front seems to have fixed it...
Also, windows env vars MAKE and PATH must be updated (c:\cygwin\bin\make,
and added c:cygwin\bin to the path)
Maybe the FAQ should be updated? Maybe it is there and I missed it...
....peter
|
|
|
Re: cygwin update...build command [message #60452 is a reply to message #60414] |
Sat, 01 February 2003 16:47 |
Eclipse User |
|
|
|
Originally posted by: peterdnight._nospam_yahoo.com
Just to clarify - I found the issue below using WSAD 5.0 based on eclipse
2.02. Using M4, things worked without the bash -c in front...
I am still trying to figure out if/how ctags are supported... a search
through the CDT archives hints yes, but nowhere is it mentioned how to load
a tags files, or how to "open in source"..
Hints anyone?
THx,
....peter
"Peter" <peterdnight@_nospam_yahoo.com> wrote in message
news:b1fp2u$mcp$1@rogue.oti.com...
> Hi All,
>
> Running eclipse 2.02, latest CDT,...on Win XP , cygwin
>
> I had to set the build command to: bash -c make -f Makefile
>
> Just running make itself seems to drop stderr, ie. compile errors were not
> being output. Adding bash to the front seems to have fixed it...
>
> Also, windows env vars MAKE and PATH must be updated (c:\cygwin\bin\make,
> and added c:cygwin\bin to the path)
>
> Maybe the FAQ should be updated? Maybe it is there and I missed it...
>
> ...peter
>
>
|
|
|
Re: cygwin update...build command [message #60973 is a reply to message #60452] |
Tue, 04 February 2003 00:33 |
Eclipse User |
|
|
|
Originally posted by: alain.no.spam
Peter wrote:
> Just to clarify - I found the issue below using WSAD 5.0 based on eclipse
> 2.02. Using M4, things worked without the bash -c in front...
Strange.
> I am still trying to figure out if/how ctags are supported... a search
> through the CDT archives hints yes, but nowhere is it mentioned how to load
> a tags files, or how to "open in source"..
> Hints anyone?
Keep in mind that ctags was use as a temporary workaround
until we get a *solid* C/C++ Parser in. But parsing C++
to do refactoring et al.. is no picnic 8-)
The current state, is that the indexer(ctags is off by default)
and can be turn on by going in the project property.
Then check on the indexer. The indexer will try to spawn
ctags with a multiple set of options:
Runtime.getRuntime().exec("ctags --format......");
Note:
- it *must* be exhuberant ctags, for this to work.
- ctags *must* be in your path
- There is no bound, if you have a large project
say you are indexing mozilla, it will consume
a large amount of memory.
> THx,
> ....peter
> "Peter" <peterdnight@_nospam_yahoo.com> wrote in message
> news:b1fp2u$mcp$1@rogue.oti.com...
> > Hi All,
> >
> > Running eclipse 2.02, latest CDT,...on Win XP , cygwin
> >
> > I had to set the build command to: bash -c make -f Makefile
> >
> > Just running make itself seems to drop stderr, ie. compile errors were not
> > being output. Adding bash to the front seems to have fixed it...
> >
> > Also, windows env vars MAKE and PATH must be updated (c:\cygwin\bin\make,
> > and added c:cygwin\bin to the path)
> >
> > Maybe the FAQ should be updated? Maybe it is there and I missed it...
> >
> > ...peter
> >
> >
|
|
|
Re: cygwin update...build command [message #61113 is a reply to message #60973] |
Tue, 04 February 2003 03:20 |
Eclipse User |
|
|
|
Originally posted by: peterdnight._nospam_yahoo.com
Thanks alain!
Got it working....by starting eclipse with -mx256 -ms256, I was able to add
/usr/include as a java project. It then indexed the entire tree et voila, it
works...top bad I am unable to use ctrl-space (only works from the menu
item) , hopefully this will be fixed soon....I code 80% java, so I am
addicted to ctrl-space ;)
....peter
"alain" <alain@no.spam> wrote in message news:b1n1p5$n4q$1@rogue.oti.com...
> Peter wrote:
>
> > Just to clarify - I found the issue below using WSAD 5.0 based on
eclipse
> > 2.02. Using M4, things worked without the bash -c in front...
>
> Strange.
>
> > I am still trying to figure out if/how ctags are supported... a search
> > through the CDT archives hints yes, but nowhere is it mentioned how to
load
> > a tags files, or how to "open in source"..
>
> > Hints anyone?
>
> Keep in mind that ctags was use as a temporary workaround
> until we get a *solid* C/C++ Parser in. But parsing C++
> to do refactoring et al.. is no picnic 8-)
>
> The current state, is that the indexer(ctags is off by default)
> and can be turn on by going in the project property.
> Then check on the indexer. The indexer will try to spawn
> ctags with a multiple set of options:
>
> Runtime.getRuntime().exec("ctags --format......");
>
>
> Note:
> - it *must* be exhuberant ctags, for this to work.
> - ctags *must* be in your path
> - There is no bound, if you have a large project
> say you are indexing mozilla, it will consume
> a large amount of memory.
>
>
> > THx,
> > ....peter
>
>
>
> > "Peter" <peterdnight@_nospam_yahoo.com> wrote in message
> > news:b1fp2u$mcp$1@rogue.oti.com...
> > > Hi All,
> > >
> > > Running eclipse 2.02, latest CDT,...on Win XP , cygwin
> > >
> > > I had to set the build command to: bash -c make -f Makefile
> > >
> > > Just running make itself seems to drop stderr, ie. compile errors were
not
> > > being output. Adding bash to the front seems to have fixed it...
> > >
> > > Also, windows env vars MAKE and PATH must be updated
(c:\cygwin\bin\make,
> > > and added c:cygwin\bin to the path)
> > >
> > > Maybe the FAQ should be updated? Maybe it is there and I missed it...
> > >
> > > ...peter
> > >
> > >
>
>
>
>
>
|
|
|
Goto Forum:
Current Time: Mon Dec 30 16:11:48 GMT 2024
Powered by FUDForum. Page generated in 0.06487 seconds
|