Re: cross compile with ./configure
- From: AZ Nomad <aznomad.3@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 02 Jun 2009 11:48:50 -0500
On Tue, 2 Jun 2009 14:15:04 +0000 (UTC), Atilla <someone@xxxxxxxxxxxxx> wrote:
Dear c.o.l.embedded
I downloaded source of lrzsz and want to cross compile it. How do i make
gnu build system understand this?
./configure CROSS_COMPILE=arm-unknown-linux-gnu-
doesn't work.
Do i need to find a way to handle everything by hand? Source tree doesn't
seem complicated.
did you try ./configure --help ?
f there was a CROSS_COMPILE option, it would be preceded with --, for example:
--host=HOST cross-compile to build programs to run on HOST [BUILD]
Typically you can use the following environmental variables
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
--host=HOST cross-compile to build programs to run on HOST [BUILD]
.
- Follow-Ups:
- Re: cross compile with ./configure
- From: Atilla
- Re: cross compile with ./configure
- References:
- cross compile with ./configure
- From: Atilla
- cross compile with ./configure
- Prev by Date: cross compile with ./configure
- Next by Date: Re: cross compile with ./configure
- Previous by thread: cross compile with ./configure
- Next by thread: Re: cross compile with ./configure
- Index(es):
Relevant Pages
|