Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
programmering i c++ i gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
tommy_haaland
Guru
Guru


Joined: 04 Oct 2003
Posts: 320

PostPosted: Wed Oct 29, 2003 12:02 am    Post subject: programmering i c++ i gentoo Reply with quote

Jeg har vært windowsbruker i lange tider, og har da brukt MS visual c++ 6.0. Nå som jeg har gått over til gentoo, så savner jeg et bra miljø å programmere i. Nå brker jeg kwrite og kompilerer cpp-filene i et shell...
Finnes det noe alla MS visual c++ for linux?
Back to top
View user's profile Send private message
creideiki
n00b
n00b


Joined: 19 Feb 2003
Posts: 61
Location: Linköping, Sweden

PostPosted: Wed Oct 29, 2003 9:03 am    Post subject: Reply with quote

Det kan vara en bra idé att titta igenom listan på paket i dev-util, som innehåller många trevligheter. KDevelop, t.ex., ser åtminstone ut ungefär som VC++.

Min personliga favoritmiljö (ingen "advocacy" här, bara ett exempel på hur det kan se ut) innehåller Emacs (editor), colorgcc (färgar utdata från GCC), CScope (hittar symboler i källkodsträd), Doxygen (autogerererar dokumentation), Doxymacs (Emacs-läge för Doxygen, finns tyvärr inte i Portage), DDD (generell debugger) och Valgrind (minnesallokeringsdebugger).
Back to top
View user's profile Send private message
professorn
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 235
Location: Stockholm, Sweden

PostPosted: Wed Oct 29, 2003 11:00 am    Post subject: Reply with quote

Annnars finns en gratis version av Kylix, funkar som Borland C++/Delphi. Tror tillochmed man kan ta ett projekt från Kylix och kompilera det för Win. på C++ Builder.

Annrs finns ju: texteditor + gcc :)
Back to top
View user's profile Send private message
Raniz
l33t
l33t


Joined: 13 Sep 2003
Posts: 967
Location: Varberg, Sweden

PostPosted: Wed Oct 29, 2003 5:15 pm    Post subject: Reply with quote

Du kan ju ta dig en titt på både Anjuta och KDevelop
Back to top
View user's profile Send private message
Anior
Guru
Guru


Joined: 17 Apr 2003
Posts: 317
Location: European Union (Stockholm / Sweden)

PostPosted: Wed Oct 29, 2003 10:48 pm    Post subject: Reply with quote

För dom som tycker att emacs är för tung så är scite en ganska trevlig editor med bland annat syntax highlighting.
Inget ont om emacs men 800k istället för 23mb är tilltalande för en del.
Gdb är något av en standarddebugger i dom flesta distributioner, kan vara värd att kika på.
Valgrind är bra men fungerar tyvär inte med 2.6 kärnan ännu. :-(
Back to top
View user's profile Send private message
tommy_haaland
Guru
Guru


Joined: 04 Oct 2003
Posts: 320

PostPosted: Thu Oct 30, 2003 4:29 pm    Post subject: Reply with quote

har emerget scite nå, og etter at jeg har skrevet inn en liten kodesnutt

Code:
#include <iostream>

using namespace std;

int main() {
   
   cout << "Dette er en liten test...";
   
   
   return (0);
   
}


og går på tools-menyen og velger "build", får jeg følgene melding:
">g++ -pedantic -Os -fno-exceptions -fvtable-thunks -c testss.cpp -o testss.o
cc1plus: warning: -fvtable-thunks is no longer supported
>Exit code: 0
"


hva er galt?
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Thu Oct 30, 2003 5:34 pm    Post subject: Reply with quote

anjuta er _PROGRAMMET_ og den har det dejligt gtk2 interface :)
Back to top
View user's profile Send private message
Qaztaz
n00b
n00b


Joined: 28 May 2003
Posts: 10

PostPosted: Fri Oct 31, 2003 7:44 pm    Post subject: Reply with quote

Om man vill ha en enkel "grafisk" editor med syntaxhighlightning är ju nedit mycket trevlig. Känns lite som notpad.
Back to top
View user's profile Send private message
tommy_haaland
Guru
Guru


Joined: 04 Oct 2003
Posts: 320

PostPosted: Sat Nov 01, 2003 1:56 am    Post subject: Reply with quote

Jeg trenger også en muliget for at jeg slipper å ha et shell oppe der jeg kompilerer selv...er lat :lol:
Back to top
View user's profile Send private message
stig
Apprentice
Apprentice


Joined: 03 Sep 2002
Posts: 289
Location: Bærum, Norway

PostPosted: Tue Nov 04, 2003 7:49 pm    Post subject: Reply with quote

Man får da C/C++ plungins til Eclipse. Det ligger til og med i portage.
Jeg har ikke brukt Eclipse til C, men til java-bruk er det helt overlegent.
Sjekk ut listen over forskjellige godsaker:
Code:
emerge -s eclipse

_________________
Allting har en ende, pølsen den har to.
Back to top
View user's profile Send private message
bos_mindwarp
Apprentice
Apprentice


Joined: 19 Oct 2002
Posts: 275
Location: stockholm, sweden

PostPosted: Mon Nov 10, 2003 7:25 am    Post subject: Reply with quote

tommy_haaland wrote:
har emerget scite nå, og etter at jeg har skrevet inn en liten kodesnutt

Code:
#include <iostream>

using namespace std;

int main() {
   
   cout << "Dette er en liten test...";
   
   
   return (0);
   
}


og går på tools-menyen og velger "build", får jeg følgene melding:
">g++ -pedantic -Os -fno-exceptions -fvtable-thunks -c testss.cpp -o testss.o
cc1plus: warning: -fvtable-thunks is no longer supported
>Exit code: 0
"


hva er galt?


ta bort -fvtable-thunks då, kolla i inställningarna för gcc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum