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]
Other format: [Raw text]

[Bug bootstrap/50697] gcc compile fails when gmp is in non-standard location


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 ?


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