*** 10,20 **** For Classic I build without large file support and without thread support. So, the prefix file contains: ! {quote: #define SQLITE_DISABLE_LFS} For Carbon I build with large file and thread support. Note that a 'thread' to Apple is not the same as a thread to everyone else. Apple uses the term 'multitasking' or (worse still) 'multiprocessing' when it refers to pre-emptively scheduled threads. So the prefix file contains: ! {quote: #define THREADSAFE 1} The other important thing to remember when making a Carbon executable is to include _carb.r_ in your project (e.g. from _MacOS Support/PowerPlant/PowerPlant Resources/carb.r_) --- 10,20 ---- For Classic I build without large file support and without thread support. So, the prefix file contains: ! #define SQLITE_DISABLE_LFS For Carbon I build with large file and thread support. Note that a 'thread' to Apple is not the same as a thread to everyone else. Apple uses the term 'multitasking' or (worse still) 'multiprocessing' when it refers to pre-emptively scheduled threads. So the prefix file contains: ! #define THREADSAFE 1 The other important thing to remember when making a Carbon executable is to include _carb.r_ in your project (e.g. from _MacOS Support/PowerPlant/PowerPlant Resources/carb.r_) *************** *** 35,40 **** --- 35,74 ---- *:CarbonLib All these (except the standard .libs) are under _MacOS Support/Universal/Libraries_, and then under _PPCLibraries_ and _StubLibraries_. The standard libraries are under _MSL/MSL_C//MSL_MacOS/Lib/PPC_. + + If you are building a shared library, you will need a file sqlite.mcp.exp, containing the following: + + sqlite_version + sqlite_encoding + sqlite_open + sqlite_close + sqlite_exec + sqlite_last_insert_rowid + sqlite_changes + sqlite_error_string + sqlite_interrupt + sqlite_complete + sqlite_busy_handler + sqlite_busy_timeout + sqlite_exec_printf + sqlite_exec_vprintf + sqlite_get_table_printf + sqlite_get_table_vprintf + sqlite_mprintf + sqlite_freemem + sqlite_libversion + sqlite_libencoding + sqlite_create_function + sqlite_create_aggregate + sqlite_function_type + sqlite_set_result_string + sqlite_set_result_int + sqlite_set_result_double + sqlite_set_result_error + sqlite_user_data + sqlite_aggregate_context + sqlite_aggregate_count + sqlite_open_aux_file A couple of other settings I do: