This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/50697] gcc compile fails when gmp is in non-standard location
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Oct 2011 10:53:08 +0000
- Subject: [Bug bootstrap/50697] gcc compile fails when gmp is in non-standard location
- Auto-submitted: auto-generated
- References: <bug-50697-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50697
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-12 10:53:08 UTC ---
(In reply to comment #0)
>
> ./configure --prefix=/swadm/local CFLAGS=-fPIC -I/swadm/local/include
> LDFLAGS=-L/swadm/local/lib --with-gmp-include=/swadm/local/include
>
> or
>
> ./configure --prefix=/swadm/local CFLAGS=-fPIC -I/swadm/local/include
> LDFLAGS=-L/swadm/local/lib --with-gmp-include=/swadm/local
Why not just use --with-gmp=/swadm/local ?