From: "Swapna Pawar" <Swapna.Pawar@kpitcummins.com>
To: <mtrudel@gmx.ch>
Cc: <gcc@gcc.gnu.org>,
"Prafulla Thakare" <Prafulla.Thakare@kpitcummins.com>,
"Swapna Pawar" <Swapna.Pawar@kpitcummins.com>
Subject: RE: gcc4.3 configuring problems with mpfr
Date: Tue, 01 Apr 2008 13:19:00 -0000 [thread overview]
Message-ID: <78DE440C4156CC45A35FDBCBF9B830D702601263@sohm.kpit.com> (raw)
Hi,
I am facing the same problem as mentioned by you. Is there any solution
or workaround? Please guide.
I have successfully built the mingw native compiler with the following
sources,
mingw-runtime-3.12
w32api-3.9
binutils-2.17.50-20060824-1-src
gcc-3.4.5-20060117-1
I want to build the mingw cross compiler for m32c-elf. The sources used
for this cross
compiler are as follows:
gcc-4.3.0
binutils-2.18
newlib-1.15.0
GCC-4.3.0 requires pre-built GMP and MPFR libraries. I get the following
error
while configuring the mingw cross compiler for m32c-elf,
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
I have used GMP 4.2.2 and MPFR 2.3.0 sources.
I have specified the paths of GMP and MPFR install directories as
"--with-gmp=<install dir>" and "--with-mpfr=<install dir>". I tried
exporting
LD_LIBRARY_PATH also, but I still get error during configure.
The error is as follows,
configure:4542: checking for correct version of mpfr.h
configure:4573: i386-pc-mingw32msvc-gcc -o conftest.exe -O2
-I/home/manjunathm1/gmp/prefix/include
-I/home/manjunathm1/mpfr/prefix/include conftest.c -L/h
ome/manjunathm1/gmp/prefix/lib -L/home/manjunathm1/mpfr/prefix/lib
-lmpfr -lgmp >&5
/tmp/cc9dzbXZ.o(.text+0x23):conftest.c: undefined reference to
`mpfr_init'
/tmp/cc9dzbXZ.o(.text+0x2b):conftest.c: undefined reference to
`mpfr_init'
/tmp/cc9dzbXZ.o(.text+0x35):conftest.c: undefined reference to
`mpfr_atan2'
/tmp/cc9dzbXZ.o(.text+0x41):conftest.c: undefined reference to
`mpfr_erfc'
/tmp/cc9dzbXZ.o(.text+0x4d):conftest.c: undefined reference to
`mpfr_subnormalize'
Any help on this will be greatly appreciated.
Thanks in advance.
Regards,
Swapna Pawar
KPIT Cummins Infosystems Ltd,
Pune (INDIA)
next reply other threads:[~2008-04-01 13:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 13:19 Swapna Pawar [this message]
2008-04-02 6:19 ` Jim Wilson
2008-06-22 7:11 pradeep sanchana
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=78DE440C4156CC45A35FDBCBF9B830D702601263@sohm.kpit.com \
--to=swapna.pawar@kpitcummins.com \
--cc=Prafulla.Thakare@kpitcummins.com \
--cc=gcc@gcc.gnu.org \
--cc=mtrudel@gmx.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).