simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] Finding the installed Tcl headers, and other proble


From: Joel Sherrill
Subject: Re: [Simulavr-devel] Finding the installed Tcl headers, and other problems
Date: Tue, 14 Apr 2009 08:04:19 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

This patch is merged.  Thanks.

--joel

Colin Coombs wrote:
Hi all,

I have the ActiveState distribution of Tcl/Tk, installed in
directory /opt/ActiveTcl.

Ever since I started trying out simulavr a couple of weeks ago, the
compilation of src/simulavr_wrap.cxx fails to find the Tcl header files,
and I have had to hack the src/Makefile by hand every time after running
'configure' to make it compile. Finally I have worked out a patch for
src/Makefile.am that I can apply once and for all.
All the patch does is to take the default make rule for '.cxx.lo' and
expand the LTCXXCOMPILE macro by hand, adding the TCL_INCLUDE macro at
the right place. The patch is made against the latest version in CVS,
and is attached to this message.

I have one more problem: the linking stage of examples/stdiodemo fails
with a couple of undefined references to '__mulhi3', which I imagine is
part of gcc's implementation of multiplication on the AVR target. Does
anyone know a fix for this one? I am running an up-to-date Fedora Core 9
Linux system, which has the following AVR-related software installed:

avrdude-5.5-3.fc9.i386
avr-gdb-6.6-8.fc9.i386
avr-binutils-2.18-2.fc9.i386
avr-gcc-4.3.3-1.fc9.i386
avr-libc-docs-1.6.4-1.fc9.noarch
avr-libc-1.6.4-1.fc9.noarch
avr-gcc-c++-4.3.3-1.fc9.i386



--
Joel Sherrill, Ph.D.             Director of Research & Development
address@hidden        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985






reply via email to

[Prev in Thread] Current Thread [Next in Thread]