|
Re: lug-bg: gcc - programirane pod Linux
- Subject: Re: lug-bg: gcc - programirane pod Linux
- From: donangel@xxxxxxxxxxx (Doncho Angelov)
- Date: Sat, 28 Dec 2002 08:32:11 +0200
Zdrasti!
Ami KDEDIR i QTDIR sha ti trqbwat, ako polzwas syotwetnite library-ta!
Ako e command-line app, ne ti trqbwat tez nesta...
Sledniiat red pod cygwin (za prosti app pod Linux e systoto - a kato
gledam "neshto"-to e ot tqh) kompilira FLTK (www.fltk.org) prilozenie:
gcc -I/usr/local/include -mwindows -DWIN32 -mno-cygwin -o main main.cxx
/usr/local/lib/libfltk.a -mwindows -lole32 -luuid -lcomctl32 -lwsock32
Za tebe bi sledwalo da mahnesh -mwindows, -DWIN32 i -mno-cygwin. A i po
princip edna cmd-line application trqbwa da se kompilira samo kato
gcc -o test test.c
Towa nesto shte naprawi izpylnimiiat file "test" ot faila "test.c" (s
ugoworkata, che .c e prawilen C file).
Trqbwa systo taka i da wnimawas za:
1) C ili C++ -> C++ razsireniiata sa .C ili .cpp ili .cxx - spored zawisi.
2) Bibliotekite, koito polzwas
Ako imas poweche wyprosi - pisi! No pisi i kakwo ti dawa kato problem -
shtoto ot messageto ti ne se razbira.
Uspeh!
D.
Ïëàìåí wrote:
>Zdrawejte
>Iskam da zapochna da programiram pod Linux. Napisal sam edna elementarna proramka na C, no neshto ne se poluchwa. Towa koeto prawia e slednoto
>gcc -c name.c
>gcc -o neshto name.o
>./neshto
>
>taka li triabwa da bade ili ...
>Molia za primeri
>Ot man gcc nishto ne razbrah
>
>KDEDIR i QTDIR
>kakwi stoinosti da zadam? Polzwam RedHat8.0
>
>
>
>Blagodaria predwaritelno
>
<HR>
<UL>
<LI>application/x-pkcs7-signature \\\\\\\\\ \\\\: smime.p7s
</UL>
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|