Running RTEMS configure script from Eclipse

Chris Welch cwelch at neumes.com
Wed Nov 23 23:41:39 UTC 2005


This is what I use to launch builds from CodeWright, so just massage this to
run your configure from Eclipse (same situation, different editor):

C:\cygwin\bin\bash -l -c "cd /cygdrive/c/dev/gc1000;make -k all 2>&1 | tee
/cygdrive/c/dev/gc1000/proj.err"

1) Change the "cd /cygdrive/c/dev/gc1000" to where you want configure to run

2) Change the "make -k all" to the command you use for configure

3) The tee is optional to store the output result.  For Codewright this feed
back into the environment to allow for point and click compile error fixing
while also being able to watch the build while it runs.

I've configured bash to pick up my RTEMS environment so that I don't have to
mess around with setting things up everytime I fire off a shell from
windows.

If you do decide to script things, avoid the suggested .bat solutions and
write a short cygwin shell script.  .bat scripting is extremely primative
and completely unnecessary with cygwin present.

----
Chris Welch, Neumes Consulting, PC and UNIX Solutions
mailto:cwelch at neumes.com (613)797-7831 FAX:(613)838-5602
http://www.neumes.com 


-----Original Message-----
From: Samuel Bitton [mailto:S.Bitton at sstl.co.uk] 
Sent: November 23, 2005 6:06 AM
To: rtems-users at rtems.com
Subject: Running RTEMS configure script from Eclipse


Hi

My development environment is based on Eclipse (with CDT) and Cygwin on a
Windows platform. Has any of you who use similar setting found a way of
running the RTEMS configure script? I'm trying to do it using the "Running
External Tools" functionality but I get an exception error when the script
is launched. I guess that's because Eclipse is trying to run the configure
script as a windows program. I believe I have to tell Eclipse to run it on
Cygwin but can't find how? Any suggestions?

Thanks
Sam




More information about the users mailing list