| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Linux and GCC |
Hi Neil. 12-May-03 18:46:00, Neil Heller wrote to All NH> Hello all: NH> I've just installed Mandrake Linux on my machine and am attempting NH> to write a C program. My standard operating procedure so far has NH> been to compose/make changes to the source code using emacs in one NH> session, save to disk, jump over to another session and compile NH> with gcc. There's gotta be an easier way - say, an ide of some NH> sort. Is there such an animal out there? yes, RHIDE is somewhat similar to borlands (dos based) IDE, it can handle many different languages if you have the compilers installed for them... (with GCC installed it's do C, etc) the official web page is/was http://www.tu-chemnitz.de/~rho/rhide.html There may be a mandrake RPM for it there or elsewhere if not theres source... NH> When doing conditional compiles in under Win, I used NH> #ifdef #else #endif NH> gcc barfs on this construct. Does anybody have an idea for a NH> replacement? it works here. EG, #include main(){ puts("You " #ifdef FOO "defined" #else "didn't define" #endif " FOO"); return 0; } OTOH AIUI #if defined( SYMBOL ) is the same as #ifdef SYMBOL NH> For that matter, does anybody know how to get "help" in gcc. Is NH> there a user manual? there's a manpage. and also the "libc" manpages for each function... man gcc man 2 intro man 3 intro if you installed info you can also do info libc / info gcc which will get you similar info in a different format, and RHIDE has a built-in info reader too. on the other hand I'm fairly sure there's an IDE that runs in emacs, I know there's an info reader in emacs... NH> A preferred web site? there may be a gcc web page at the FSF website (fsf.org or gnu.org?) ---* Origin: Don't pay your exorcist & get repossessed! (3:640/1042) SEEN-BY: 633/267 270 @PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.