Results 1 to 6 of 6
hi to all ,
i'm vaibhav and i've recently shifted to linux for c/cpp programming . but there's just one problem - i dont know how to do it. i ...
- 06-25-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 9
newbie help : about gcc
hi to all ,
i'm vaibhav and i've recently shifted to linux for c/cpp programming . but there's just one problem - i dont know how to do it. i have suse 10.2 on my system and i do not know if it contains gcc or not . i opened the terminal window and wrote a small code
using the vi editor and saved it using :wq . now i don't know where to type the commands for compiling and all . whenever i write gcc hello.c in the shell , it says "command not found".i'd be greatful if any of you experts out there could help me with this stuff. thanking all in anticipation.
- 06-25-2007 #2
If the output is "command not found" then probably you haven't installed it yet.I think for starting, it would be easier writing your code with kate. so, insert your opensuse dvd, applications->system->yast->software management, select search and type "gcc". This should get you going.
Welcome to LF!
- 06-27-2007 #3Just Joined!
- Join Date
- Jun 2007
- Posts
- 9
another problem..
ya , just as u said , gcc and stuff was not installed ....so i installed gcc and the libraries needed from the dvd but my dvd's got some scratches , so while installing the packages yast could not install some patches........now when i run gcc -o hello hello.c , it says - "stdio.h" - "no such file or directory found" . henceforth, i think it would be a better idea to download all the development tools ( gcc nd libraries needed ) from the net . can u suggest from where can i get all these development tools ? thank u for your timely help.....i need urgent help regarding linux issues...i have to run my project on it ...
- 06-27-2007 #4
I guess it would be difficult downloading gcc source code and compiling yourself because of the dependencies. So yast->installation source->add->specify url and type
http:// packman. mirrors .skynet .be /pub / packman/ suse/ 10.2/ (without the spaces)
Go again in software management and try installing gcc.
- 07-03-2007 #5Just Joined!
- Join Date
- Jun 2007
- Posts
- 9
another issue....
ok.....i completely got wat u said ..... but i've not yet connected net thru linux....so,that's completely another thing . by the way....i tried to copy the same rpm's(gcc and stuff) from the dvd of pcqlinux(another distro).well....i copied them fine but wen it came to installing....suse demanded it's own dvd b'coz it was looking for i686 or i586 rpms but i was trying to install i386 rpms.......so u know wats the problem this time......can we not install i386 rpms someway in suse ? where do i look for i586 or i686 rpms?........the url u gave didn't help much....can we not chat real time?.....this forum is great..i mean it's really active but real time help is wat i was looking for.....anywayz thanx for welcoming me to this forum...its been nice interaction.
- 07-04-2007 #6Just Joined!
- Join Date
- Jun 2007
- Posts
- 9
anyone ?
anyone here who can help me.kindly read the above posts . thanx .


Reply With Quote
