This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
site.exp and newlib_ldflags
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 2 Apr 2010 12:14:20 -0500
- Subject: site.exp and newlib_ldflags
Hi,
I ran into a lot of GCC test failures on a
Coldfire target board which did not use the default
multilib. When I investigated, it turned out
that this line in the site.exp rule in gcc/Makefile.in
was causing it to link the default 68020
multilib instead of the right Coldfire one.
echo "set newlib_ldflags \"-B$(objdir)/../$(target_subdir)/newlib/\""
>> ./tmp0; \
My solution was to ignore the variable
newlib_ldflags in my board.exp file. But
this seems like a broader issue and that
I might have missed something.
Does the above need to be multilib aware?
Is there a trick I missed?
Is it a bug?
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985