This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: forcing gcc to use a nonstandard list of include directories


Dnia piÄtek 01 lipca 2011 o 23:00:56 Jonathan Wakely napisaÅ(a):
> On 1 July 2011 21:55, MichaÅ Walenciak wrote:
> > Hi all
> > 
> > I'm trying to compile gcc for an avr architecture.
> > I've used standard directories in ./configure (--prefix=/usr etc).
> 
> It will be a lot easier for people to help if you say what you
> *actually* did, not "etc."
> 
> Running ./configure isn't supported, you should build outside the
> source directory.

I use distro's tools for builing, and whole ./configure looks like:
+ export CONFIGURE_TOP=../gcc-4.5.3
+ CONFIGURE_TOP=../gcc-4.5.3
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-
D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
+ export FFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--
build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ CONFIGURE_TOP=../gcc-4.5.3
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs ../gcc-4.5.3
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib ../gcc-4.5.3 
lib64
+ '[' -f ../gcc-4.5.3/configure.in -o -f ../gcc-4.5.3/configure.ac ']'
+ CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64'
+ ../gcc-4.5.3/configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-
prefix=/usr/lib --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --
datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --
libexecdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/usr/com --
mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-
libraries=/usr/lib64 --target=avr --enable-languages=c,c++ --disable-nls --
disable-libssp --with-system-zlib --enable-version-specific-runtime-libs --
enable-lto --enable-plugins --disable-werror


-- 
MichaÅ Walenciak
gmail.com kicer86
http://kicer.sileman.net.pl
gg: 3729519


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]