This is the mail archive of the gcc-bugs@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] |
$ CC="gcc" CXX="c++" CFLAGS="-g -O3" CXXFLAGS="-g -O3" \
./configure --prefix="/usr/local" --enabled-shared
After running ./configure --help the output is the following:
$ ./configure --help
Usage: configure [OPTIONS] [HOST]
Options: [defaults in brackets]
--prefix=MYDIR install into MYDIR [/usr/local]
--exec-prefix=MYDIR install host-dependent files into MYDIR [/usr/local]
--help print this message [normal config]
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [determined via config.guess]
--norecursion configure this directory only [recurse]
--program-prefix=FOO prepend FOO to installed program names [""]
--program-suffix=FOO append FOO to installed program names [""]
--program-transform-name=P transform installed names by sed pattern P [""]
--site=SITE configure with site-specific makefile for SITE
--srcdir=DIR find the sources in DIR [. or ..]
--target=TARGET configure for TARGET [TARGET=HOST]
--tmpdir=TMPDIR create temporary files in TMPDIR [/tmp]
--nfp configure for software floating point [hard float]
--with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)
--without-FOO package FOO is NOT available
--enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)
--disable-FOO do not include feature FOO
Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc.
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
./configure --with-gcc-version-trigger=/export/home0/wwinzer/mybuild/BUILD/gcc-2.95.3/gcc/version.c
--host=sparc-sun-solaris2.5.1 --prefix=/usr/local --enable-shared --norecursion
# using "mh-frag" and "mt-frag"
- Wally Winzer Jr.
Alexandre Oliva wrote:
> On May 26, 2001, "Auteria Wally Winzer Jr." <wally.winzer@ChampUSA.COM> wrote:
>
> > #include <...> search starts here:
> > .
> > ../dist/../include
> > ../dist/../include_auto
> > /usr/include
> > /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.3/../../../../sparc-sun-solaris2.5.1/include
> > /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.3/include
> > /usr/include
>
> As Carlo pointed out, the first occurrence of /usr/include is bogus.
> GCC doesn't add it by itself. How did you configure/build GCC 2.95.3
> so as to get it there?
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me
S/MIME Cryptographic Signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |