Re: [sqlite] Re: sqlite_omit_xx build failure

2007-06-12 Thread weiyang wang

thanks.

that is correct. i have just found this issue 5 mins ago. i am re-doing the
compiling now.

and .

it works.

thanks. have a nice day

wang



On 6/12/07, Dan Kennedy <[EMAIL PROTECTED]> wrote:


On Tue, 2007-06-12 at 09:56 +0200, weiyang wang wrote:
> Hi Dr.H,
> Yes, I did a clean build in a clean directory( (top)/bld ). and i had
run
> 'make clean' before i run the 'make'.
>
> i am wondering whether the lemon tool configuration in my environment is
> well done or not.
>
> thanks in advance.
>
> wang
>
> On 6/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > "weiyang wang" <[EMAIL PROTECTED]> wrote:
> > > hi,
> > >
> > > i am trying to get a smaller sqlite lib by adding sqlite_omit_xx
> > defines.
> > > but it failed at the compiler time.
> > >
> > > steps:
> > > 1, in 'Makefile.in ', omit macro is added:
> > >
> > >   TCC += -DSQLITE_OMIT_ALTERTABLE=1

Do this as well:

  OPTS += -DSQLITE_OMIT_ALTERTABLE=1

The key is that the same set of -DSQLITE_OMIT_ options have
to be passed to "lemon" as the C compiler.

Dan.

> > >
> > > 2, run '(top)/configure' and 'make' in cygwin,
> > >
> > > 3, i got the fowllowing error:
> > >
> >
> > Did you do this from a clean directory?  Did you
> > do "make clean" before doing "make"?
> > --
> > D. Richard Hipp <[EMAIL PROTECTED]>
> >
> >
> >
-
> >
> > To unsubscribe, send email to [EMAIL PROTECTED]
> >
> >
-
> >
> >



-
To unsubscribe, send email to [EMAIL PROTECTED]

-




Re: [sqlite] Re: sqlite_omit_xx build failure

2007-06-12 Thread Dan Kennedy
On Tue, 2007-06-12 at 09:56 +0200, weiyang wang wrote:
> Hi Dr.H,
> Yes, I did a clean build in a clean directory( (top)/bld ). and i had run
> 'make clean' before i run the 'make'.
> 
> i am wondering whether the lemon tool configuration in my environment is
> well done or not.
> 
> thanks in advance.
> 
> wang
> 
> On 6/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > "weiyang wang" <[EMAIL PROTECTED]> wrote:
> > > hi,
> > >
> > > i am trying to get a smaller sqlite lib by adding sqlite_omit_xx
> > defines.
> > > but it failed at the compiler time.
> > >
> > > steps:
> > > 1, in 'Makefile.in ', omit macro is added:
> > >
> > >   TCC += -DSQLITE_OMIT_ALTERTABLE=1

Do this as well:

   OPTS += -DSQLITE_OMIT_ALTERTABLE=1

The key is that the same set of -DSQLITE_OMIT_ options have
to be passed to "lemon" as the C compiler.

Dan.

> > >
> > > 2, run '(top)/configure' and 'make' in cygwin,
> > >
> > > 3, i got the fowllowing error:
> > >
> >
> > Did you do this from a clean directory?  Did you
> > do "make clean" before doing "make"?
> > --
> > D. Richard Hipp <[EMAIL PROTECTED]>
> >
> >
> > -
> >
> > To unsubscribe, send email to [EMAIL PROTECTED]
> >
> > -
> >
> >


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] Re: sqlite_omit_xx build failure

2007-06-12 Thread weiyang wang

Hi Dr.H,
Yes, I did a clean build in a clean directory( (top)/bld ). and i had run
'make clean' before i run the 'make'.

i am wondering whether the lemon tool configuration in my environment is
well done or not.

thanks in advance.

wang

On 6/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


"weiyang wang" <[EMAIL PROTECTED]> wrote:
> hi,
>
> i am trying to get a smaller sqlite lib by adding sqlite_omit_xx
defines.
> but it failed at the compiler time.
>
> steps:
> 1, in 'Makefile.in ', omit macro is added:
>
>   TCC += -DSQLITE_OMIT_ALTERTABLE=1
>
> 2, run '(top)/configure' and 'make' in cygwin,
>
> 3, i got the fowllowing error:
>

Did you do this from a clean directory?  Did you
do "make clean" before doing "make"?
--
D. Richard Hipp <[EMAIL PROTECTED]>


-

To unsubscribe, send email to [EMAIL PROTECTED]

-




[sqlite] Re: sqlite_omit_xx build failure

2007-06-11 Thread drh
"weiyang wang" <[EMAIL PROTECTED]> wrote:
> hi,
> 
> i am trying to get a smaller sqlite lib by adding sqlite_omit_xx defines.
> but it failed at the compiler time.
> 
> steps:
> 1, in 'Makefile.in', omit macro is added:
> 
>   TCC += -DSQLITE_OMIT_ALTERTABLE=1
> 
> 2, run '(top)/configure' and 'make' in cygwin,
> 
> 3, i got the fowllowing error:
> 

Did you do this from a clean directory?  Did you
do "make clean" before doing "make"?
--
D. Richard Hipp <[EMAIL PROTECTED]>


-
To unsubscribe, send email to [EMAIL PROTECTED]
-