[ac-alpha] configure: error: unrecognized option: -ggdb

Tomasz Wittner lists w mmt.pl
Sob, 12 Cze 2004, 10:35:28 CEST


Dnia sob 12. czerwca 2004 08:43, Marcin Krzyżanowski napisał:
> mono.spec
>
> + ./configure LDFLAGS= CFLAGS=-O2 -mieee -mno-explicit-relocs -ggdb
> CXXFLAGS=-O2 -mieee -mno-explicit-relocs -ggdb FFLAGS=-O2 -mieee -mno-
> explicit-relocs -ggdb CPPFLAGS= CC=alpha-pld-linux-gcc CXX=alpha-pld-
> linux-g++ --build=alpha-pld-linux --prefix=/usr --exec-prefix=/usr --
> bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/
> share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib
> --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man
> --infodir=/usr/share/info --x-libraries=/usr/X11R6/lib --without-nptl --
> with-preview=yes --with-gc=included
> configure: error: unrecognized option: -ggdb
>
>
> zdarzylo sie tylko na alphie, dlaczego tak tam jest ?
To ja dorzucę zsh.spec
+ ./configure LDFLAGS= -static CFLAGS=-O2 -march=athlon -fomit-frame-pointer 
-ggdb CXXFLAGS=-O2 -march=athlon -fomit-frame-pointer -ggdb FFLAGS=-O2 
-march=athlon -fomit-frame-pointer -ggdb CPPFLAGS=-I/usr/include/ncurses 
CC=athlon-pld-linux-gcc CXX=athlon-pld-linux-g++ --build=athlon-pld-linux 
--prefix=/usr --exec-prefix=/usr --bindir=/bin --sbindir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var 
--sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--x-libraries=/usr/X11R6/lib --disable-dynamic
configure: error: unrecognized option: -ggdb
Try `./configure --help' for more information.
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.56367 (%build)

zdarzyło sie to na moim duronie ;), przy %_enable_debug_packages 1

Przy %_enable_debug_package 0 w ~/.rpmmacros mam:

+ ./configure LDFLAGS= CFLAGS=-O2 -march=athlon -fomit-frame-pointer 
CXXFLAGS=-O2 -march=athlon -fomit-frame-pointer FFLAGS=-O2 -march=athlon 
-fomit-frame-pointer CPPFLAGS=-I/usr/include/ncurses CC=athlon-pld-linux-gcc 
CXX=athlon-pld-linux-g++ --build=athlon-pld-linux --prefix=/usr 
--exec-prefix=/usr --bindir=/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib 
--libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib 
--mandir=/usr/share/man --infodir=/usr/share/info 
--x-libraries=/usr/X11R6/lib ac_cv_have_dev_ptmx=yes --enable-maildir-support 
--enable-pcre --enable-cap

"i idzie".

rpm-4.3-0.20040107.23 budowany czw 03 cze 2004 01:26:31 CEST

-- 
Tomasz Wittner



Więcej informacji o liście dyskusyjnej pld-devel-pl