From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] mpfr error on cygwin for arm
Date: Sat, 26 May 2007 11:48:01 +0200 [thread overview]
Message-ID: <20070526094801.GC15885@aon.at> (raw)
In-Reply-To: <4657D933.8060109@gmail.com>
On Fri, May 25, 2007 at 11:52:35PM -0700, Tom wrote:
>Hi Bernhard and all,
>
>sorry if this thread is a little out of sequence, had problems with text
>attachment.
>
>Bernhard Fischer wrote:
>>Before you report it to the mpfr folks, please paste the error here,
>>since i suspect that it could have to do something with the
>>binary/library name extensions, which (IIRC) we currently do not handle
>>at all (there's a bug somewhere about this, if memory serves me right).
>>
>
>You were right about extensions, below is the error as produced by
>buildroot-20050516 built, I just added -verbose for ld.
>It can not resolve the depency to libgmp.so, because cygwin ld assumes
>libs to end in .a, .lib or .dll, and will append them to .so libs, which
>thus can never be found.
>Can I help to add support for this?
Yes, you can.
Depending on the target, set
ifneq $($(findstring linux,$(BR2_GNU_BUILD_SUFFIX)),)
EXEEXT:=
LIBEXT:=.a
SHREXT:=.so
endif
ifneq $($(findstring apple,$(BR2_GNU_BUILD_SUFFIX)),)
EXEEXT:=.pear
LIBEXT:=.dunno
SHREXT:=.dylib
endif
ifneq $($(findstring cygwin,$(BR2_GNU_BUILD_SUFFIX)),)
EXEEXT:=.exe
LIBEXT:=.dunno
SHREXT:=.dll
endif
ifneq $($(findstring mingw,$(BR2_GNU_BUILD_SUFFIX)),)
EXEEXT:=.exe
LIBEXT:=.dunno
SHREXT:=.dll
endif
in the toplevel Makefile, before the
all: world
target, and use them accordingly.
While you're at it, it would be awesome if you could deal with this too:
We want to be able to select which flavour of lib is built (shared or
static) with a single config-option.
So, instead of changing all ".so" blindly to $(SHREXT), change it to
$(LIBTGTEXT) which is set either to
ifeq $($(BR2_DEFAULT_LIB_TARGET),shared)
LIBTGTEXT=$(SHREXT)
else
LIBTGTEXT=$(LIBEXT)
endif
below the newly added block i mentioned above.
TIA and cheers,
next prev parent reply other threads:[~2007-05-26 9:48 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-25 14:49 [Buildroot] ALSA for build root Rod Boyce
2007-05-25 15:13 ` Daniel Laird
2007-05-25 18:56 ` Peter at busybox.net
2007-05-25 19:03 ` Stuart Wood
2007-05-25 19:23 ` [Buildroot] Package selection question Tom
2007-05-25 19:51 ` Yann E. MORIN
2007-05-25 20:38 ` Bernhard Fischer
2007-05-25 20:45 ` Yann E. MORIN
2007-05-25 21:10 ` Tom
2007-05-26 9:23 ` Bernhard Fischer
2007-05-26 10:22 ` Yann E. MORIN
2007-05-25 20:03 ` Bernhard Fischer
2007-05-25 20:59 ` Tom
2007-05-26 9:50 ` Bernhard Fischer
[not found] ` <4657D353.7030704@gmail.com>
2007-05-26 6:33 ` [Buildroot] mpfr error on cygwin for arm Tom
[not found] ` <4657D933.8060109@gmail.com>
2007-05-26 9:48 ` Bernhard Fischer [this message]
2007-05-30 3:07 ` Tom
2007-05-30 9:47 ` Bernhard Fischer
2007-05-30 16:03 ` Tom
2007-05-31 7:33 ` Tom
2007-05-25 20:05 ` [Buildroot] Package selection question Bernhard Fischer
2007-05-26 14:45 ` [Buildroot] ALSA for build root Rod Boyce
2007-05-29 7:03 ` Hans-Christian Egtvedt
2007-05-29 20:00 ` Bernhard Fischer
2007-05-30 22:29 ` [Buildroot] ALSA for build root Part 2 Rod Boyce
2007-06-06 7:47 ` Hans-Christian Egtvedt
2007-05-29 20:04 ` [Buildroot] ALSA for build root Bernhard Fischer
2007-05-29 23:01 ` Rod Boyce
[not found] <465F9792.9000200@gmail.com>
[not found] ` <20070601094409.GA23984@aon.at>
2007-06-01 20:32 ` [Buildroot] mpfr error on cygwin for arm Tom
2007-06-01 22:11 ` Bernhard Fischer
2007-06-02 1:27 ` Tom
2007-06-02 8:41 ` Bernhard Fischer
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=20070526094801.GC15885@aon.at \
--to=rep.dot.nop@gmail.com \
--cc=buildroot@busybox.net \
/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