|
From: Allin C. <cot...@wf...> - 2009-05-08 22:00:24
|
On Fri, 8 May 2009, Ethan Merritt wrote: > On Friday 08 May 2009 10:34:51 pl...@pi... wrote: > > HI, > > > > I'm trying to cross-compile gnuplot for arm. > > > > I set CC= and CXX= but it got thrown out with a message saying I should > > use --host to cross-compile. > > > > The supposed "complete" list of options in ./configure --help and in > > INSTALL does not mention it or cross-compiling at all > > The --host=arm-linux option is not something that is part of > gnuplot, or gnuplot's autoconfigure scripts. It is an option > for the gcc compiler. So you would need to look in the gcc docs. > I would guess the best source of help would be an arm-linux > forum. plotter does have a point. I just checked the configure script for my program, gretl, and part of the boiler-plate output from ./configure --help is: System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] I certainly didn't add that explicitly; it's the output from some standard autoconf macro (not sure which; maybe AC_PROG_CC?). It's a bit surprising that it's not present in gnuplot's "configure --help" output. Allin Cottrell |