Leveraging objdump extensions for better autoconf cross-compilation support?
Philip Prindeville
philipp_subx@redfish-solutions.com
Mon Oct 16 22:53:00 GMT 2017
More information about the Binutils mailing list
Mon Oct 16 22:53:00 GMT 2017
- Previous message (by thread): Leveraging objdump extensions for better autoconf cross-compilation support?
- Next message (by thread): TIC4X maintainer's address bouncing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> On Oct 16, 2017, at 1:36 AM, Andreas Schwab <schwab@suse.de> wrote: > > On Okt 15 2017, Philip Prindeville <philipp_subx@redfish-solutions.com> wrote: > >> You’d have things like: >> >> #include <stdio.h> >> >> int main(int argc, char *argv[]) >> { >> printf(“sizeof long=%u\n”, sizeof(long)); >> exit(0); >> } >> >> or whatever being compiled and run. >> >> What if you could get by with: >> >> const unsigned size_long = sizeof(long); > > autoconf already has a standard macro for these kind of tests, > AC_CHECK_SIZEOF, which is cross-friendly. > > Andreas. > Well, it would still be useful for other things, like (as I mentioned) detecting the format that floating point numbers are stored natively. -Philip
- Previous message (by thread): Leveraging objdump extensions for better autoconf cross-compilation support?
- Next message (by thread): TIC4X maintainer's address bouncing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list