Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse + Cygwin + Contiki RTOS
Eclipse + Cygwin + Contiki RTOS [message #258268] Thu, 12 June 2008 13:04 Go to next message
Eclipse UserFriend
Originally posted by: jimmytmathew.yahoo.co.uk

Hi

I am using Contiki RTOS for my application. I have Eclipse 3.3.2 with
latest Cygwin compiler. The Contiki produces executable in ".native" form
(it is equivalent to ".exe").

My problem is I can use Cygwin bash terminal to execute and view the
result. But I am not able to view the same result when I use Cygwin with
Eclipse. When I try to run the program in Eclipse, I always get a blank
screen. Can anybody trace the problem?

Jimmy
Re: Eclipse + Cygwin + Contiki RTOS [message #258447 is a reply to message #258268] Fri, 13 June 2008 12:03 Go to previous messageGo to next message
Anton Leherbauer is currently offline Anton LeherbauerFriend
Messages: 490
Registered: July 2009
Senior Member
Jimmy Mathew wrote:
>
> Hi
>
> I am using Contiki RTOS for my application. I have Eclipse 3.3.2 with
> latest Cygwin compiler. The Contiki produces executable in ".native"
> form (it is equivalent to ".exe").
>
> My problem is I can use Cygwin bash terminal to execute and view the
> result. But I am not able to view the same result when I use Cygwin with
> Eclipse. When I try to run the program in Eclipse, I always get a blank
> screen. Can anybody trace the problem?
>
> Jimmy
>

Is the .native file really in win32 executable format?
Or is it maybe an executable script starting with #! ?
Are you able to run the file from the windows command prompt?
How do you run the program in eclipse?
What do you mean by "blank scrren"?
Does the program depend on the Cygwin DLL?
Is the Cygwin DLL in the system path?

Lots of questions...

--
Anton Leherbauer
Wind River CDT Team, Austria
Re: Eclipse + Cygwin + Contiki RTOS [message #258453 is a reply to message #258447] Fri, 13 June 2008 12:48 Go to previous message
Brian Southey is currently offline Brian SoutheyFriend
Messages: 12
Registered: July 2009
Junior Member
I have problems with eclipse/cygwin and Mingw.
I see that you seem to get a good result with Contiki RTOS so why bother
with eclipse if Contiki works?

I give my problem below for information, if you can help with it?

1.Ive just downloaded

eclipse-cpp-europa-winter-win32, mingw

I compiled and ran the intro."Hello

World" prog. ok.

However, when I try to build and run

it again as the same program,
I get the following error :

**** Internal Builder is used for

build ****
gcc -O0 -g3 -Wall -c

-fmessage-length=0 -osrc\helloworld.o

\src\helloworld.c
gcc: installation problem, cannot

exec `cc1': No such file or directory
Build error occurred, build is

stopped
Time consumed: 125 ms.
2.repeat the process with new name

Hello World 2: error:"Nothing to

build"
3.repeat with Hello World3 same result




More information:
Also as I try and work thro. other

projects they seem to get mixed up with

each
other, and the runs fail.
Error messages are "launch failed no

binaries" etc.

Is there a way of clearing failed

projects from the platform completely?
I have printed out several tutorials

but they dont ans. this.

I may say that eclipse came as a breath

of fresh air after the useless Borland
C++ compiler and the worse Microsoft

Net framework 3.5 and vis C++ x 86!

However there are still problems.

Is this a problem with MinGW, not

Eclipse?
Or Windows xp with the MinGW compiler?
-------
Further Comment #2 From Brian Southey

2008-06-13

When I started using eclipse I had a

choice of toolchain:
cygwin or MinGW.
The eclipse tutorial said to use cygwin

and not MinGW.
My prog. ran successfully.

When I tried again the cygwin tool was

"not available on this platform" so I
had to select MinGW.
From then on all seven of my projects

have either failed to launch or given

the
cc1 error.

I joined the MinGW user mailing list

and within 2 days had received 140

emails
from them about problems with their

MinGW!!!
I had to close the link but before this

I did NOT get any help with MY problem.
All of this seems to indicate that

MinGW is very difficult to use.

Can I uninstall Mingw and eclipse and

unzip the zip version of eclipse?


Thanks,
Brian.
Previous Topic:eclipse prog launch failure, binaries,toolchain
Next Topic:Help with Resource "Navigation" View
Goto Forum:
  


Current Time: Wed Apr 24 19:24:57 GMT 2024

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

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

Back to the top