Re: [Predef-contribute] __ELF__
Brought to you by:
breese,
tahonermann
From: Bjorn R. <br...@ma...> - 2008-10-12 12:28:35
|
Lennart Poettering wrote: > I was looking for a macro to detect whether the build target was ELF or > not. On your wonderful predef.sf.net site nothing was listed for this. > > On gcc at least __ELF__ is defined for ELF targets. I think it would > be a fitting addition to your site to list this macro. Sorry about the late reply. I have had difficulty deciding where on the predef pages this macro may fit in. Maybe there should be a miscellaneous page for ELF, endianess, data model (e.g. ILP32, LP64), and similar. Any comments? |