avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] RFC: Libc versioning


From: Svein E. Seldal
Subject: [avr-gcc-list] RFC: Libc versioning
Date: Thu, 03 Jun 2004 14:42:31 +0200
User-agent: Mozilla Thunderbird 0.6 (X11/20040528)

Hi,

I am considering the ability to get the avr-libc version from an installed library. AFAIK this feature is missing. (If I'm wrong, please tell me where I can find it :) )

My initial suggestion will be to make a define in a header, similar to GCC's __GNUC__ and __GNUC_MINOR__:

#define __AVRLIBC__ xxx
#define __AVRLIBC_MINOR xxx

Any ideas of which file to put them in?

My secondary suggestion would be to be able to retrieve the avr-libc version from the installed libc.a - but still without being linked into the application (unless explicityly requested).

I can probably prepare a patch for libc for this, but I would like to discuss this with the community first.

Any comments or questions?


Regards,
Svein Seldal


reply via email to

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