[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] Fwd: Library per device
From: |
Frédéric Nadeau |
Subject: |
[avr-libc-dev] Fwd: Library per device |
Date: |
Thu, 25 Aug 2011 00:49:33 -0400 |
Sorry M. Weddington, the intended recipient it the mailing list.
Frédéric Nadeau ing. jr
---------- Forwarded message ----------
From: Frédéric Nadeau <address@hidden>
Date: 2011/8/25
Subject: Re: [avr-libc-dev] Library per device
To: "Weddington, Eric" <address@hidden>
I wrote a lib that compile per device (http://code.google.com/p/avr-drv), it
might give you some idea. You might find it a bit of a spaghetti
compilation, I agree I'm not a master of the makefile. I was looking for a
way to have recipe for all device so it could take advantage of parallel
build.
One thing that I couldn't figure out to do was to detect which device was
supported by the compiler and compile only for these. The only way I found
was to parse the output of avr-gcc. There might be a better way.
Hope this could help.
Frédéric Nadeau ing. jr
On Thu, Aug 25, 2011 at 00:16, Weddington, Eric
<address@hidden>wrote:
> Hi All,
>
> What would it take to change avr-libc to build as a library-per-device?
>
> Right now, it's library-per-architecture. I would like to add some new
> code, but code that might really need to build per-device.
>
> Any thoughts on what the migration path might be?
>
> Eric
>
> _______________________________________________
> AVR-libc-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/avr-libc-dev
>