From: ErkaN (Selamsana@uni.de)
Date: Fri 08 Jun 2001 - 14:47:22 EEST
Selam...
Altug Bayram demiski;
> moc (meta object compiler) qt'nin bir parcasidir. Qt'nin dili c++ olmasina
> karsin
> ansi c++'ta olmayan bazi eklentiler vardir. Bu ozellikleri gcc'nin
> derleyebilecegi
> bir hale getirmek icin moc kullanilir. ./configure --help diyerek gerekli
> optionlari
> ogrenip bunlari parametre olarak vermeyi deneyin.
Asagidak ./configure --help in bir örnegi var....
prefixlerden tutunda --with-qt-libraries 'e varincaya kadar, bütün
olasiliklari teker teker denedim, yani analog olarak, manuel olarak giris
yaptirdim bütün önemli parameterleri...Sonuc hep ayni nokta..Bellli bir
noktaya kadar g++ compiler geilyor ve orda cakilip kaliyor...gitmiyor...Ama
c++ ile port üzeirnden yaptirdigim zaman hic bir sorun yok, g++ 'un cakilip
kaldigi noktayi, c++ compiler bir hamlede gecip gidiyor...Acaba dedim bir
seymi olabilir, yani en ufak bir cakismazlik...G++ ile c++ arasinda...
Ayni versionli g++ compiler ile ayni version numarali Programi az önce Suse
7.1 üzerinde compilern yaptirdim, hic bir sorun yok..G++ orda kaldigi
noktada aynen devam ediyor...
g++ versionlari ayni
Programlarin versionlari ayni
Peki ayni source Suse üstünde g++ compilern olurken FreeBSD alindaki ayni
versionlu g++ altinda neden olmuyor...Birakin onu, ayni source , eger
FreeBSD altinda herhangi bir degisiklik yapmadan compilern ettirmeye
kalkarsam, ./configure komutunu bile asamiyorum, yarida birakiyor...
Acaba FreeBSD altinda normal source ( PORT lar degil ) ile KDE icin yazilmis
bir programi biz kendimiz compilern apamiycakmiyiz ?? Yani illa birisinin
Port olarak yazmasinimi bekliycez ? KDE ayni KDE....Compiler ayni
compiler....Linker ler ayni linker.... Ortam ; birisi Suse , birisi
FreeBSD....
Saygilar, tesekkürler...hertürlü fikir icin..
erkaN
...........................................
%./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print `checking...' messages
--version print the version of autoconf that created
configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local/kde]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[same as prefix]
--bindir=DIR user executables in DIR [EPREFIX/bin]
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
--infodir=DIR info documentation in DIR [PREFIX/info]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM
run sed PROGRAM on installed program names
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
--disable-FEATURE do not include FEATURE (same
as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
--enable and --with options recognized:
--disable-fast-perl disable fast Makefile generation (needs perl)
--enable-debug enables debug symbols [default=no]
--disable-debug disables debug output and debug symbols
[default=no]
--enable-strict compiles with strict compiler options (may not
work!)
--enable-profile creates profiling infos [default=no]
--enable-final build size optimized apps (experimental - needs
lots of memory)
--disable-closure don't delay template instantiation
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=no]
--enable-fast-install[=PKGS] optimize for fast installation [default=yes]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--disable-libtool-lock avoid locking (might break parallel builds)
--with-pic try to use only PIC/non-PIC objects [default=use
both] --enable-mt link to threaded Qt (experimental)
--with-extra-includes=DIR
adds non standard include paths
--with-extra-libs=DIR adds non standard library paths
--with-qt-dir=DIR where the root of Qt is installed
--with-qt-includes=DIR where the Qt includes are.
--with-qt-libraries=DIR where the Qt library is installed.
--disable-rpath do not use the rpath feature of ld
--disable-path-check don't try to find out, where to install
--disable-kio disable KDE I/O based retriever
--disable-wget disable wget based retriever
--enable-dmalloc compile and link with dmalloc
%
-----------------------------------------------------------------------
Liste üyeliğiniz ile ilgili her türlü işlem için
http://liste.linux.org.tr adresindeki web arayüzünü kullanabilirsiniz.
Listeden çıkmak için: 'linux-request@linux.org.tr' adresine,
"Konu" kısmında "unsubscribe" yazan bir e-posta gönderiniz.
-----------------------------------------------------------------------