This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Canadian build for AVR


On Tue, Jul 2, 2013 at 3:15 PM, Trevor Woerner <twoerner@gmail.com> wrote:
> Hi Jon,
>
> On Fri, May 10, 2013 at 11:32 PM, jonsmirl@gmail.com <jonsmirl@gmail.com> wrote:
>>> On Fri, May 10, 2013 at 9:26 AM, Ben Greenfield <ben@cogs.com> wrote:
>>> There isn't AVR8 support in crosstool-ng. But gcc supports it. I am
>>> trying to put together my own makefiles to build it without
>>> crosstool-ng support.

I did get this working. But we started working on something else and
I've seem to have lost the Makefiles. The idea was to make a dev
environment for the new Arduino Yun. I did get the compiler and
libraries built and they did work on a MIPS CPU with only 32MB RAM.

In general everything works if you do it from a 32b host. Something is
messed up in gcc when doing cross 64b-32b-8b. The messed up bit is in
the 64b-32b part. 32b-32b-8b works.  I seem to recall moving to a very
recent gcc and this problem went away.

There is also a path that is wrong is wrong in the gcc Makefile when
building one of the libraries. It builds the library in gcc instead of
gcc/target. Then later steps can't find the library. The Makefile is
missing something like $(TARGET) in the path construction.

So in general you don't need to do anything special except to fix that
path in the Makefile. Fixing it is fairly obvious, the build will stop
saying it can't find the library.

I was building these inside of OpenWRT so the Makefile were specific
to that environment.



>>>
>>>> If you did get it working I would love an overall description of your environment and workflow.
>
> I was just wondering if you were interested in making your
> procedure/makefiles available? Is there any reason your method
> couldn't be added to ct-ng?
>
> Best regards,
>     Trevor



--
Jon Smirl
jonsmirl@gmail.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]