From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] AVR32 misery
Date: Fri, 28 Sep 2007 18:24:34 +0200 [thread overview]
Message-ID: <20070928162433.GI20951@aon.at> (raw)
In-Reply-To: <1190961727.5322.70.camel@elrond.atmel.sweden>
On Fri, Sep 28, 2007 at 08:42:07AM +0200, Ulf Samuelsson wrote:
>fre 2007-09-28 klockan 07:20 +0200 skrev Hans-Christian Egtvedt:
>> On Fri, 2007-09-28 at 02:08 +0200, Ulf Samuelsson wrote:
>> > I think I have found one problem
>> > "toolchain_build_avr32/gcc-4.1.2-initial/gcc/as" is a script file
>> > which should call the assembler.
>> >
>> > It contains
>> >
>> > #!/bin/sh
>> > exec "$@"
>> >
>> > and should contain:
>> > #!/bin/sh
>> > exec <buildroot>/build_avr32/staging_dir/bin/avr32-linux-uclibc-ld "$@"
>>
>> This should really not mather, because the PATH variable should be set
>> before starting to compile the cross-compiler.
>>
>> Perhaps this is as easy as a missing TARGET_CONFIGURE_OPTS?
>>
>
>I have added ORIGINAL_*_FOR_TARGET /DEFAULT_*/*_FOR_TARGET to
>HOST_CONFIGURE_OPTS
>(it fails during gcc-4.1.2-final)
>And now use HOST_CONFIGURE_OPTS for configure and make.
Passing CONFIGURE_OPTS to make after an autoconf'igured package was
configured is not needed.
>
>As a result, it seems that ld/nm/objcopy now has the right path,
>but the assembler doesn't.
>
> echo '#!$(SHELL)' > as; \
> echo 'exec $(ORIGINAL_AS_FOR_TARGET) "$$@"' >> as ; \
>
>results in as containing
>+++++++++++++++
>#!/bin/bash
>exec "$@"
>---------------
>
>I suspect, I have to configure with "-with-gnu-as" or with
>"-with-as=$(STAGING_DIR)/../*-as"as well,
>(It is already configured with "-with-gnu-ld")
>and the machine is working overtime, testing that at the moment.
We don't need to pass --with-gnu-ld nor --with-gnu-as. If sombody finds
a different assembler or linker, then this is a consequence of something
going wrong previously. The target is linux and not irix or something
like that.
next prev parent reply other threads:[~2007-09-28 16:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 0:08 [Buildroot] AVR32 misery Ulf Samuelsson
2007-09-28 5:20 ` Hans-Christian Egtvedt
2007-09-28 6:42 ` Ulf Samuelsson
2007-09-28 16:24 ` Bernhard Fischer [this message]
2007-09-28 18:53 ` Ulf Samuelsson
2007-09-28 19:14 ` Bernhard Fischer
2007-09-28 21:03 ` Ulf Samuelsson
2007-09-28 21:27 ` Bernhard Fischer
2007-09-28 7:35 ` Ulf Samuelsson
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=20070928162433.GI20951@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