From: Hinko Kocevar <hinko.kocevar@cetrtapot.si>
To: buildroot@busybox.net
Subject: [Buildroot] Standalone toolchain
Date: Mon, 29 Sep 2008 12:57:01 +0200 [thread overview]
Message-ID: <48E0B47D.2080102@cetrtapot.si> (raw)
In-Reply-To: <48E09A70.5020801@cetrtapot.si>
Hinko Kocevar wrote:
> It can be seen that --sysroot argument is not applied to the linker command - it is using default sysroot (used when creating toolchain) '/work/buildroot/build_cris/staging_dir' instead of '/work/git/sdk.git/toolchain' I'm trying to set.
>
> LD should indeed accept the argument (from the help):
> hinkok at alala /work/git/sdk.git $ /work/git/sdk.git/toolchain/usr/bin/../lib/gcc/cris-linux-uclibc/4.3.1/../../../../cris-linux-uclibc/bin/ld --help|grep sysroot
> --sysroot=<DIRECTORY> Override the default sysroot location
>
These options seem to work:
CFLAGS += --sysroot=$(TOOLCHAIN)
LDFLAGS += --sysroot=$(TOOLCHAIN) -Wl,--sysroot,$(TOOLCHAIN)
Best regards,
Hinko
--
?ETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si
prev parent reply other threads:[~2008-09-29 10:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 13:14 [Buildroot] Standalone toolchain Hinko Kocevar
2008-09-24 13:46 ` Bernhard Reutner-Fischer
2008-09-26 12:39 ` Hinko Kocevar
2008-09-29 8:49 ` Hinko Kocevar
2008-09-29 9:05 ` Hinko Kocevar
2008-09-29 10:57 ` Hinko Kocevar [this message]
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=48E0B47D.2080102@cetrtapot.si \
--to=hinko.kocevar@cetrtapot.si \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.