Help with gcc and g++


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help with gcc and g++
# 1  
Old 08-22-2010
Help with gcc and g++

Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default or should I install any other applications.. If their is any better option plz tell me. tanq...
# 2  
Old 08-22-2010
Help with unix gcc and g++

Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default or should I install any other applications.. If their is any better option plz tell me. tanq...
# 3  
Old 08-22-2010
I've been writing C programmes for the last 28 years and have used nothing but vi or similar editor under Vax/VMS. I also prefer to use vi for all of my programming (Java, Ruby, awk, Kshell, python, etc.) -- I've never been a big fan of the "development environments." There are others who feel differently, but the bottom line is that you dont need anything but vi, the compiler, and make (though I prefer mk from Plan-9).

Last edited by agama; 08-22-2010 at 01:45 AM.. Reason: fix typo
# 4  
Old 08-22-2010
ubuntu is a better choice, you can go for.

if you cant compile, you may need to install build-essential package on top of it, that should be enough for your programs. all the best.
# 5  
Old 08-22-2010
emacs ?
# 6  
Old 08-23-2010
if you are a windows user that would like to remotely get into a linux box (such as ubuntu), you may want to use WinSCP to write C (or any other) apps within a window WinSCP :: Download
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Gcc with pipe

I want to compile all files in my directory i wrote find *.c | gcc -o * *.c but it dosent work :( Help pliz (12 Replies)
Discussion started by: rzili
12 Replies

2. AIX

Relocateable GCC!!!!

Gurus, This might be a piece of cake for you guys! But I have been ransacking the web (and my brain - no hardwork there!) to see if I could get my hands around a relocateable version of GCC - why so?? from compile problems I am facing, it is evident my current gcc version is clearly not... (15 Replies)
Discussion started by: getback0
15 Replies

3. UNIX for Dummies Questions & Answers

GCC installation .

I m trying to Install FTP (vsftpd-2.3.2) on my linux machine. # lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: EnterpriseEnterpriseServer Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)... (7 Replies)
Discussion started by: pinga123
7 Replies

4. AIX

Gcc for AIX

Hi, I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error-- Please help me to resolve it. Thanks in Advance.. (6 Replies)
Discussion started by: smartgupta
6 Replies

5. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

6. SuSE

Linux gcc

Hi all, I am trying to create 64-bit shared libraries on Power PC "ppc64" architecture SuSe Linux 10 machine using gcc compiler. I am using "-m64" as an option for gcc to create 64-bit libraries which needs pam module. As we specify -m64 the compiler should look for all 64-bit... (0 Replies)
Discussion started by: vyshu2112
0 Replies

7. Programming

gcc *.c -lcurses

Can someone tell me what does -|curses do here when the C program got compiled? gcc *.c -lcurses Thanks! (1 Reply)
Discussion started by: whatisthis
1 Replies

8. Programming

Gcc

Dear all, Any body please guide, i require a C which will run in Linux environment. Its urgent please. warm regards, Senthil K (1 Reply)
Discussion started by: Senthil
1 Replies

9. Programming

warning from gcc

I get this error warning. test.c: In function 'main': test.c:5: warning: incompatible implicit declaration of built-in function 'memset' After compiling this code #include <stdio.h> int main() { char pBuffer; memset(pBuffer, 0, 32); return 0; } What seems... (2 Replies)
Discussion started by: sledge76
2 Replies

10. UNIX for Dummies Questions & Answers

cc and gcc not found

I am trying to compile c files using cc and gcc commands but getting errors cc and gcc not found. I tried man cc and man gcc still not found. Can somebody help me this problem. thanks (3 Replies)
Discussion started by: asif iqbal
3 Replies
Login or Register to Ask a Question