Not logged in
Log in now
Create an account
Subscribe to LWN
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
I don't know much about the cross compiling support of autotools.
Do autotools support cross compiling for systems e.g. with 8 bit
microcontrollers, which maybe don't have an operating system at all ?
automake vs. GNU make
Posted Feb 7, 2008 23:23 UTC (Thu) by nix (subscriber, #2304)
8-bit, I'm not sure. Things like arm-elf (without an OS), sure, and has
for next to forever.
Posted Feb 11, 2008 1:43 UTC (Mon) by GreyWizard (guest, #1026)
Autotools support cross compilation in the abstract: to the extent that they work for one
cross compiling target they should work for any that the underlying compiler can support. As
for that, GCC does support at least some 8-bit microcontrollers, as attested here:
Posted Feb 11, 2008 8:37 UTC (Mon) by aleXXX (subscriber, #2742)
What about compilers != gcc, e.g. sdcc ?
Posted Feb 11, 2008 20:01 UTC (Mon) by nix (subscriber, #2304)
Other compilers are generally supported. autoconf supports anything which
runs as $CC and supports -g, -o, and -c with the customary meanings;
automake supports anything with the caveat that dependency analysis may be
inaccurate without compiler support (said support being a few lines of
shell script in the depcomp script: if you need it for your compiler,
please submit a patch!)
libtool's support is necessarily compiler-by-compiler and
platform-by-platform, and so cannot cover everything (its entire purpose
being to smooth out variation in the way different compilers and platforms
create shared objects): nonetheless, on Linux, 1.5.26 supports GCC, KCC,
Intel C++, the Portland Group's compiler, Compaq C++, and even Sun C,
although who'd be using that on a Linux box I have no clue. (For a
complete list of compiler * platform combinations, look in libtool.m4.)
(libtool obviously doesn't support sdcc, since as far as I can tell sdcc
can't generate PIC code at all :) )
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds