simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] Finding the installed Tcl headers, and other problems


From: Colin Coombs
Subject: [Simulavr-devel] Finding the installed Tcl headers, and other problems
Date: Sat, 11 Apr 2009 11:14:10 +0100

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

Attachment: src-Makefile-am.patch
Description: Text Data


reply via email to

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