public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] common: Link with GCC instead of LD
Date: Wed, 31 Oct 2012 21:52:00 +0100	[thread overview]
Message-ID: <201210312152.00384.marex@denx.de> (raw)
In-Reply-To: <50918150.1030202@googlemail.com>

Dear Andreas Bie?mann,

[...]

> > -# Always use GNU ld
> > -LD	= $(shell if $(CROSS_COMPILE)ld.bfd -v > /dev/null 2>&1; \
> > -		then echo "$(CROSS_COMPILE)ld.bfd"; else echo 
"$(CROSS_COMPILE)ld";
> > fi;) +# Link with GCC
> > +LD	= $(CROSS_COMPILE)gcc
> 
> with this change we should also remove LD_VERSION_STRING from
> $(VERSION_FILE). Currently it will call 'gcc -v' which will print
> compile switches to stderr.
> 
> Compiled and runtime tested on avr32 atngw100mkii, on first sight it
> seems sane.

Good catch. I added it to u-boot-testing/dm-gcclink branch already, but will 
repost after I get a bit more feedback.

Thanks!

Best regards,
Marek Vasut

  reply	other threads:[~2012-10-31 20:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31 16:32 [U-Boot] [PATCH] common: Link with GCC instead of LD Marek Vasut
2012-10-31 19:51 ` Andreas Bießmann
2012-10-31 20:52   ` Marek Vasut [this message]
2012-10-31 22:36 ` Wolfgang Denk
2012-10-31 22:48   ` Tom Rini
2012-10-31 23:28     ` Wolfgang Denk
2012-10-31 23:39       ` Tom Rini
2012-10-31 22:51   ` Marek Vasut
2012-10-31 23:32     ` Wolfgang Denk
2012-10-31 23:45       ` Marek Vasut
2012-11-01  0:00         ` Wolfgang Denk
2012-11-01  0:06           ` Marek Vasut

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=201210312152.00384.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /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