public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/58936] New: wrong Makefile generated when gmp/mpfr/mpc installed in custom folder
@ 2013-10-31 9:28 eoodin at outlook dot com
2013-10-31 9:35 ` [Bug other/58936] " eoodin at outlook dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: eoodin at outlook dot com @ 2013-10-31 9:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58936
Bug ID: 58936
Summary: wrong Makefile generated when gmp/mpfr/mpc installed
in custom folder
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: eoodin at outlook dot com
I configured gcc using:
./configure --prefix=$HOME --with-gmp=$HOME --with-mpfr=$HOME --with-mpc=$HOME
When I am compiling gcc 4.8.2, I got error:
cannot find -lgmp
after I correct line in <SRC>/x68_64-unkown-linux-gnu/gcc/Makefile
from '-lmpc -lmpfr -lmpc ' to '$HOME/lib/libmpc.a $HOME/lib/libmpfr.a
$HOME/lib/libmpc.a'
I could compile without any error.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/58936] wrong Makefile generated when gmp/mpfr/mpc installed in custom folder
2013-10-31 9:28 [Bug other/58936] New: wrong Makefile generated when gmp/mpfr/mpc installed in custom folder eoodin at outlook dot com
@ 2013-10-31 9:35 ` eoodin at outlook dot com
2013-10-31 9:36 ` eoodin at outlook dot com
2013-10-31 9:58 ` mikpelinux at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: eoodin at outlook dot com @ 2013-10-31 9:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58936
--- Comment #1 from Liu Jian <eoodin at outlook dot com> ---
correction:
Makefile I corrected should be <SRC>host-x86_64-unknown-linux-gnu/gcc/Makefile
Correction:
GMPLIBS = -lmpc -lmpfr -lgmp
==>
GMPLIBS = $HOME/lib/libmpc.a $HOME/lib/libmpfr.a $HOME/lib/libgmp.a
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/58936] wrong Makefile generated when gmp/mpfr/mpc installed in custom folder
2013-10-31 9:28 [Bug other/58936] New: wrong Makefile generated when gmp/mpfr/mpc installed in custom folder eoodin at outlook dot com
2013-10-31 9:35 ` [Bug other/58936] " eoodin at outlook dot com
@ 2013-10-31 9:36 ` eoodin at outlook dot com
2013-10-31 9:58 ` mikpelinux at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: eoodin at outlook dot com @ 2013-10-31 9:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58936
--- Comment #2 from Liu Jian <eoodin at outlook dot com> ---
correction:
Makefile I corrected should be <SRC>host-x86_64-unknown-linux-gnu/gcc/Makefile
Correction:
GMPLIBS = -lmpc -lmpfr -lgmp
==>
GMPLIBS = $HOME/lib/libmpc.a $HOME/lib/libmpfr.a $HOME/lib/libgmp.a
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug other/58936] wrong Makefile generated when gmp/mpfr/mpc installed in custom folder
2013-10-31 9:28 [Bug other/58936] New: wrong Makefile generated when gmp/mpfr/mpc installed in custom folder eoodin at outlook dot com
2013-10-31 9:35 ` [Bug other/58936] " eoodin at outlook dot com
2013-10-31 9:36 ` eoodin at outlook dot com
@ 2013-10-31 9:58 ` mikpelinux at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: mikpelinux at gmail dot com @ 2013-10-31 9:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58936
--- Comment #3 from Mikael Pettersson <mikpelinux at gmail dot com> ---
(In reply to Liu Jian from comment #0)
> I configured gcc using:
> ./configure --prefix=$HOME --with-gmp=$HOME --with-mpfr=$HOME
> --with-mpc=$HOME
> When I am compiling gcc 4.8.2, I got error:
Configuring in the gcc source directory itself is not supported. Try something
like
tar jxf gcc-4.8.2.tar.bz
mkdir objdir
cd objdir
../gcc-4.8.2/configure ...
instead.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-31 9:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-31 9:28 [Bug other/58936] New: wrong Makefile generated when gmp/mpfr/mpc installed in custom folder eoodin at outlook dot com
2013-10-31 9:35 ` [Bug other/58936] " eoodin at outlook dot com
2013-10-31 9:36 ` eoodin at outlook dot com
2013-10-31 9:58 ` mikpelinux at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).