This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, 5 Jan 2004, Charlie Brady wrote: > I'm not sure whether this is from vanilla crosstool or Carl's uclibc > patches, A bit of both actually. > but I notice that configure was told to both disable and enable > __cxa_atexit. That doesn't seem wise to me: > > [charlieb@pc-00085 gcc-3.3.2-uClibc-0.9.23]$ cat build-gcc/config.status > #!/bin/sh > # This file was generated automatically by configure. Do not edit. > # This directory was configured as follows: > /home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.23/gcc-3.3.2/configure > --with-gcc-version-trigger=/home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.23/gcc-3.3.2/gcc/version.c > --target=mipsel-unknown-linux-uclibc --host=i686-host_pc-linux-gnu > --prefix=/opt/crosstool/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.23 > --disable-__cxa_atexit > --with-headers=/opt/crosstool/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.23/mipsel-unknown-linux-uclibc/include > --disable-nls --enable-threads=posix --enable-symvers=gnu > --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared > --enable-c99 --enable-long-long --norecursion This comes from the interpolation of $(GCC_EXTRA_CONFIG) in the final gcc configure run, but with the interpolation happening just after --prefix, IOW, quite early in the command line. I assume that in this case the attempt to disable __cxa_atexit for the uclibc build will be ineffective. Is there any reason not to have $(GCC_EXTRA_CONFIG) last? And should the existing args by explicit in-line, or should they be set by other variables. We have a bunch of stuff listed which may not be appropriate for all targets which might be supported: ${GCC_DIR}/configure --target=$TARGET --host=$HOST --prefix=$PREFIX \ ${GCC_EXTRA_CONFIG} \ --with-headers=${PREFIX}/${TARGET}/include \ --disable-nls \ --enable-threads=posix \ --enable-symvers=gnu \ --enable-__cxa_atexit \ --enable-languages=c,c++ \ --enable-shared \ --enable-c99 \ --enable-long-long -- Charlie ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |