473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

c editor for cygwin

Hi, does anyone know a C editor that you can start from cygwin. My compiling command gcc is very long and I can't copy it from a windows C compiler like devC++ or notepad++ into the cygwin shell.

Thanks !
Feb 5 '07 #1
6 5128
AdrianH
1,251 Expert 1GB
Hi, does anyone know a C editor that you can start from cygwin. My compiling command gcc is very long and I can't copy it from a windows C compiler like devC++ or notepad++ into the cygwin shell.

Thanks !
Hi, what exactly are you asking for? If you are asking for a text editor for editing your source file, you can use a number of text editors such as vim, emacs, even notepad. But then you start stating IDEs such as notepad++ and devC++. Are you asking about an IDE? to allow you to debug?

Try Eclipse. It takes a bit getting use to but if you use the tutorials, you can get up to speed on how to use it in half a day? There is also something that will give you a C++ perspective (a way of viewing your enviroment). Installation is easy, just unzip the Eclipse SDK into a folder, then unzip the CDT file into the same directory as Eclipse (your C++ perspective). Execute the executable in the root Eclipse path and volia, free IDE that uses cygwin. You will have to map the cygwin drives to windows drives to get the debugger to work. You will be given a button to press if it can't find your source code. It took me a couple of hours or so to dl it and get it up and running. Using the managed makefile option really speeds things up too. Oh, I also found that I had to put the cygwin/bin directory as the first one in the system path. I'm not percisely sure why, but it probably keeps the right executables running that the IDE uses.

Emacs also allows for most of this too, but unless you find a tutoral or are very patient, it could take a days to understand how to use it effectivly. I've been using it for years and I keep forgetting the somewhat useful, but less used items.

Adrian
Feb 6 '07 #2
Ok, that's allright. Thanks !

Hi, what exactly are you asking for? If you are asking for a text editor for editing your source file, you can use a number of text editors such as vim, emacs, even notepad. But then you start stating IDEs such as notepad++ and devC++. Are you asking about an IDE? to allow you to debug?

Try Eclipse. It takes a bit getting use to but if you use the tutorials, you can get up to speed on how to use it in half a day? There is also something that will give you a C++ perspective (a way of viewing your enviroment). Installation is easy, just unzip the Eclipse SDK into a folder, then unzip the CDT file into the same directory as Eclipse (your C++ perspective). Execute the executable in the root Eclipse path and volia, free IDE that uses cygwin. You will have to map the cygwin drives to windows drives to get the debugger to work. You will be given a button to press if it can't find your source code. It took me a couple of hours or so to dl it and get it up and running. Using the managed makefile option really speeds things up too. Oh, I also found that I had to put the cygwin/bin directory as the first one in the system path. I'm not percisely sure why, but it probably keeps the right executables running that the IDE uses.

Emacs also allows for most of this too, but unless you find a tutoral or are very patient, it could take a days to understand how to use it effectivly. I've been using it for years and I keep forgetting the somewhat useful, but less used items.

Adrian
Feb 6 '07 #3
Motoma
3,237 Expert 2GB
Hi, does anyone know a C editor that you can start from cygwin. My compiling command gcc is very long and I can't copy it from a windows C compiler like devC++ or notepad++ into the cygwin shell.

Thanks !
You could always use emacs. You can run it straight from the cygwin prompt in the shell window.
Feb 6 '07 #4
You could always use emacs. You can run it straight from the cygwin prompt in the shell window.
Yes, thanks, Cheers !
Feb 7 '07 #5
AdrianH
1,251 Expert 1GB
Ok, that's allright. Thanks !
No prob, glad to help.


Adrian
Feb 7 '07 #6
macklin01
145 100+
You might also consider using nedit directly from the cygwin shell. (If you also run x.) -- Paul
Feb 7 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jason Tesser | last post by:
What is the best overall ide studio that can be used to develop crossplatform apps (win,linux,mac) for python? Jason Tesser Web/Multimedia Programmer Northland Ministries Inc. (715)324-6900...
0
by: dw | last post by:
Pehaba, does anyone knows how to install MySQLdb on cygwin? - test device: MySQLdb 0.9.2.0 targz + cygwin 1.5.7-cr-0x9e + python 2.3.3 on cygwin + mysql 4.0.17 win32 - modified setup.py's...
36
by: ChinStrap | last post by:
When not using the interactive prompt, what are you using? I keep hearing everyone say Emacs, but I can't understand it at all. I keep trying to learn and understand why so many seem to like it...
4
by: goberle | last post by:
I have installed the Cygwin package under WinXP. I am trying to insure that I have a reasonable development environment, and that things are working properly, by trying to compile and run the...
12
by: M.Siler | last post by:
I didn't know what group to post this in... I'm looking for a good hex editor. One that would permit me to view two files at the same time and as I move the position in one it would also move it in...
4
by: reachsamdurai | last post by:
Hello, Can you please let me know the procedure to reach db2 command prompt from a cygwin window (hence without using Start-> Run -> db2cmd method). I'm planning to write shell scripts which...
6
by: marco.delvecchio | last post by:
I downloaded the compiler C++ 5.5 from borland site... where can i find an easy to use editor that can be integrated with this compiler?... the last time i was programming in C was in 1993.. the...
0
by: dot | last post by:
I spent a few headache filled days trying to use GMP on windows (XP pro) I finally got it to work and since I found little help on the Web I thought someone might find what i did useful. ...
15
by: dreen1 | last post by:
Hello! Does any one of you know about some kind of PHP IDE (or at least an editor with syntax highlighting) that works online? It would be absolutely great if there was something like Google...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.