[CCC DEV] Crossbuild fails on 32-bit Ubuntu

Matt Jadud matt at jadud.com
Wed May 22 02:26:21 BST 2013


My apologies, BTW, for being a bit cross. I'm just frustrated that I spent
as many hours as I did on Windows issues, when it turns out that I wasn't
even in the clear on 32-bit Linux.

I am at a point where I really need to be able to compile occam-pi programs
for the Arduino. For that, I need a working toolchain *somwhere*. I don't
know if these are changes in GCC that are causing problems, or changes that
were made to the compiler, build system, or anything else along the way
that, since... 1.5 years ago?... are why it isn't possible to get a working
build. The "what is the source of this problem?" question is what I'm
worried about. (Perhaps it will be simple. Fingers crossed.)

So, it isn't frustration *at* anyone, but it is frustration never-the-less.
I'm tempted to pull the compiler, TVM, and wrapper out of the tree, and see
if I can build this separately as a "small" project. Then, I can add
libraries in as I need them. I'm going to poke at one or two more things,
but that's starting to look like my "desperation" move, as I need some way
to get things built and running on the AVR again.

We'll see what happens. It might be a late night.

Cheers,
M


On Tue, May 21, 2013 at 8:39 PM, Matt Jadud <matt at jadud.com> wrote:

> Hi all,
>
> If anyone has time to look at the 32-bit crossbuild, it fails. I'm getting
> desperate for a working tree. I hadn't anticipated that... bitrot? Some
> random change made in the last year?... would mean that I'd be out of luck
> on a build.
>
> I'll try getting rid of things in the build that don't work. I don't know
> what "file.module" or "lexer.occ" do, but perhaps neither is essential in a
> cross-build. Certainly not in the avr cross-build, but I don't know.
>
> Cheers,
> M
>
>
> make[1]: Entering directory
> `/home/ubuntu/build/arduino/obj-avr/modules/useful/libsrc'
> /home/ubuntu/build/arduino/obj-avr/tools/kroc/occbuild --in-tree
> /home/ubuntu/build/arduino/obj-avr --toolchain=tvm --search
> /home/ubuntu/build/arduino/obj-avr/modules/course/libsrc --search
> /home/ubuntu/build/arduino/obj-avr/modules/inmoslibs/libsrc/maths --search
> /home/ubuntu/build/arduino/obj-avr/modules/inmoslibs/libsrc/maths --search
> /home/ubuntu/build/arduino/obj-avr/modules/inmoslibs/libsrc/maths --search
> /home/ubuntu/build/arduino/obj-avr/modules/time/libsrc  --object
> ../../../../modules/useful/libsrc/lexer.occ
>
>     :--** @module useful
>     :
>     :--{{{  includes
>     :#INCLUDE "course.module"
>   23:#INCLUDE "file.module"
> --------------^
>     :
>     :#INCLUDE "useful.inc"
>     :
>     :--}}}
> Error-occ21-../../../../modules/useful/libsrc/lexer.occ(23)- cannot open
> file "file.module"
>
>     :--
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.concurrency.cc/pipermail/developers/attachments/20130521/fd9e0076/attachment.htm>


More information about the developers mailing list