I recently installed Suse Linux 10.0 (my first “other than Windows” OS).
I want to experimentate a little bit with C++, installed Boost and GNU with YaST, but I cant see the program’s anywhere…
Is this something I only can do with the non-GUI part of linux, I mean with commands
Yes, but before you get too carried away is there a reason you are
starting with 10.0? It’s really old and 11.3 is near its release (11.2
has been good as well).
Compiling in any distro of Linux can be done fairly easily if you have the
gcc (default for most systems) compiler installed.
gcc file.c
Good luck.
On 07/07/2010 09:16 AM, Waxterz wrote:
>
> Hi all,
>
> I recently installed Suse Linux 10.0 (my first “other than Windows”
> OS).
> I want to experimentate a little bit with C++, installed Boost and GNU
> with YaST, but I cant see the program’s anywhere…
>
> Is this something I only can do with the non-GUI part of linux, I mean
> with commands
>
> Pls help me further, cheers
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
You are right: There is no icon for gcc or g++ in the desktop menu. I always start them from the command line. However, there are a couple of good integrated development packages around. Maybe your best start would be to browse the software repositories with yast to see what’s in the standard distro. Others will visit this thread and point out their favorites. Look out …
As for your version of SUSE: you say 10.0. Can you please confirm that this is openSUSE 10.0 and not SLES or SLED? Could make a difference.
‘gcc file.c’ would be used to compile a C program rather than a C++
program.
If you know some C++ already then ‘g++ file.cpp’ (or similar) would be
fine; however, if you don’t have any experience with C++, you might be
better off getting a good book on C++ (which may have instructions on
compiling in GNU/Linux).
> Hi all,
>
> I recently installed Suse Linux 10.0 (my first “other than Windows”
> OS).
Like others have already suggested, you really ought to go for 11.2 -
it’s freely available and a lot more current than 10.0.
> I want to experimentate a little bit with C++, installed Boost and GNU
> with YaST, but I cant see the program’s anywhere…
>
> Is this something I only can do with the non-GUI part of linux, I mean
> with commands
Well, yes and no. You can run the compiler from the shell, but there
are also IDEs such as Eclipse. You will most likely end up with the
command line anyway (for writing make files), so that’s where I’d
start.
> avenuemax wrote:
>
>>
>> I am on 11.2, tried the other two packages that you mentioned from
>> 11.3 repo but still doesnt work.
>
> Okay. I’ll try to repeat the process on 11.2. download.o.s seems
> very slow right now, so it might have to wait till later.