Hi  Jean-Louis, Bruce, Rony ...

If anyone has some time to try building ooSQLite on a Mac, that would
be cool.  <grin>

https://oorexx.svn.sourceforge.net/svnroot/oorexx/incubator/ooSQLite

If someone tries it, here are some tips.  You can also e-mail me
directly and I'll try to help.

I *think* it might build on a Mac using the MakeFile.lin:

# make -f MakeFile.lin

would be the first thing to try.

If that doesn't work, and it seems to be a compiler / linker setup
problem rather than a source code problem, you could try this:

In the source code tree there is:

src\platform\unix\sqlite-autoconf

cd to that directory and run:

# CFLAGS="-Os" ./configure

that wil produce a Makefile file that can be executed to produce
sqlite3, a command line shell for SQLite.  You could first see if that
make file works.  It should.

What I did on Linux was to examine Makefile for the compiler / linker
flags and defines and incorporate a few of them into Makefile.lin  I
also built sqlite3 using that Makefile and captured the output to see
what gets passed to gcc and the linker.

On Linux at least, no config.h is produced by configure.  If one is
produced on OS X, then copy the config.h file to:

src/sqlite

where the source files for sqlite are.  Those files are platform
independent and should not be changed.  sqlite.c does have code to
include config.h, if it exists.  But on Linux things compile fine
without a config.h.

If it is a source code compatibility problem. let me know.  There were
a few when I first compiled  on Linux.  They should be easy to fix.

Thanks in advance.

--
Mark Miesfeld

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to