Actually, the correct way would be to do make CC=compilername, although 
for most situations it may produce the same effect.  Also, SQLite uses 
autotools, so it's just a matter of doing CC=compilername ./configure.

You can find more info using ./configure --help.  Also, for 
cross-compilation, you may want to look at the --target= & --host= 
command-line parameters to configure.  Using configure ensures that 
everything will use the environment you want it to.

Stephen Oberholtzer wrote:
> On Fri, Feb 29, 2008 at 11:01 PM,  <[EMAIL PROTECTED]> wrote:
>>  I've downloaded and built the sources for the standard Intel Linux
>>  platform but I want to run this on Linux on a Coldfire (MCF5484) platform.
>>  How do I modify the compiler the build uses (short of just modifying the
>>  Makefile)? I've looked at the but there's nothing obvious
>>  about how to change it.
>>  Didn't see any docs on this. Any help appreciated.
> I don't know that specifically, but the usual method for that stuff is
> CC=compilername make

sqlite-users mailing list

Reply via email to