[ nesa0802 @ 06.09.2008. 15:15 ] @
Kako da prevodim i izvrsavam C/C++ aplikacije u eklipsu. Treba li mi jos nesto izuzev: C and C++ Development Platform i C and C++ Development Tools |
[ nesa0802 @ 06.09.2008. 15:15 ] @
[ kiklop74 @ 06.09.2008. 15:17 ] @
Treba ti kompajler. U slucaju da radis na windows instaliraj mingw.
[ adnanK @ 06.09.2008. 15:45 ] @
Koliko ja znam ne treba ti nista. To je valjda kompletno razvojno okruzenje koje ima svoj kompajler. Ipak mozda i grijesim.
[ nesa0802 @ 06.09.2008. 16:32 ] @
Probao sam da skinem MinGW sa zvanicnog sajta ali nesto nece.
Skinua sam verziju 5.1.3 sa Rapid-a i kada sam raspakovao arhivu dobio sam sledece instrukcije za instalaciju: 1. Run the MinGW-5.1.3 installer, select "Download and install", select the Current package set, then make sure the following packages are checked and install to C:\MinGW: MinGW base tools g++ compiler Objective C Compiler MinGW Make 2. Install MSYS-1.0.10 to C:\MinGW (do NOT use the default or C:\MinGW\1.0). When prompted, answer y to the first two questions, then type c:/MinGW for the directory path. 3. Install msysDTK-1.0.1 to C:\MinGW (do NOT the default or C:\MinGW\1.0). 4. Rename "C:\MinGW\bin\mingw32-make" to "make 5. Unpack OpenSSL and GMP into C:\MinGW\home\<user>\ 6. Launch MinGW/MSYS using the MSYS icon and 'cd' to the GMP folder 7. Compile GMP with the following commands: $ ./configure --prefix=${gmp_install} --enable-cxx $ make && make install (take a nap) 8. Copy C:\MinGW\home\<user>\openssl-x.x.x\include\openssl to C:\MinGW\include\openssl 9. Configure OpenSSL with the following command: $ ./configure mingw 10. Copy C:\MinGW\include\openssl back to ..openssl-x.x.x\include\openssl 11. Compile OpenSSL with the following commands: $ make && make install (ignore any errors...after your second nap of course) 12. Copy C:\MinGW\home\<user>\openssl-x.x.x\libcrypto.a to C:\MinGW\lib\ 13. Copy byteswap.h to C:\MinGW\include\ 14. Compile cemu using "make mingw=1 static=1" U cetvrtom koraku kada mi trazi da reimenujem mingw32-make u make imam problem sto u tom folderu make vec postoji. drugi problem je u sedmom koraku kada ukucam ./configure --prefix{C:/MinGW/home/user/nesa/gmp-4.2.1} --enable-cxx dobijam sledece: configure: loading site script /etc/config.site checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=32 checking compiler gcc -m32 -O2 -fomit-frame-pointer ... no checking compiler gcc -O2 -fomit-frame-pointer ... no checking compiler icc -no-gcc ... no configure: error: could not find a working compiler, see config.log for details Znas li kako da resim ovo ili odakle da skinem neki MinGW koji se lakse instalira. [ kiklop74 @ 06.09.2008. 18:28 ] @
[ kiklop74 @ 06.09.2008. 18:31 ] @
Citat: nesa0802: Probao sam da skinem MinGW sa zvanicnog sajta ali nesto nece. Deinstaliraj sve to. Skini devcpp sa mingw kompajlerom i samo dodaj mingw/bin direktorijum u path. http://prdownloads.sourceforge...v-cpp/devcpp-4.9.9.2_setup.exe [ Eurora3D Team @ 06.09.2008. 22:15 ] @
Ili Code::Blocks sa mingw kompajlerom http://www.codeblocks.org/downloads
http://downloads.sourceforge.n...codeblocks-8.02mingw-setup.exe [Ovu poruku je menjao Eurora3D Team dana 06.09.2008. u 23:28 GMT+1] [ obucina @ 07.09.2008. 22:50 ] @
Ili skini Cygwin sa http://www.cygwin.com/, izaberi pakete gcc, g++, gdb i make, dodaj cygwin/bin u PATH i to je to...
[ nesa0802 @ 07.09.2008. 23:07 ] @
OK. Hvala. Probacu nesto od ovoga pa cu videti.
Jos jedno pitanje. da li je za prevodjenje projekata radjenih u Eclipse-u moguce koristiti neki drugi kompajler, konkretno Borland C++ 3.1. Ovaj kompajlaer je prilicno star, ali mi bas on treba. [ obucina @ 08.09.2008. 14:59 ] @
Moguce je koristiti bilo koji kompajler. Sta je posebnost Borlandovog v3.1?
[ kiklop74 @ 08.09.2008. 18:45 ] @
Eclipse CDT podrzava gcc/mingw. Za neki drugi kompajler moraces da se snadjes sam.
Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|