-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it soup? #1
Comments
To compile and link all sources and objects I made the following changes:
With some linker magic I could generate the shareable and the main image. However, they don't work as expected:
So either my changes are totally off or it isn't soup, yet. |
Hi hb, Thanks for the patches. I did some work quite a while back to build a native OS driver for SQLite, rather than the UNIX-compatibility stuff. All my work, so far, has been done on VAX using the GCC compiler (to cope with the 64-bit issue). When I come up against things that I know while be needed for Alpha/Itanium (say the /FIRST_INCLUDE vs. /SCAN) I chuck it in. However, none of it has actually been run so stupid spelling mistakes haven't been caught yet. As for the shareable image...I've got a TECO macro I've been working on that processes the object file listing, but also constructs it against an existing symbol vector, so we don't jumble around the entry points. I have to finish the bit that generates the output and then push it. I've been working on a few other things the last couple days, so still need to get round to it. As for soup...well, I have had it running on VAX (but that was a couple versions ago) and it ran very well. Given at the time my development system was a VAXstation 4000/VLC, performance was really quick. I'll have to put together some metrics. I'll review the other changes you submitted too and roll them in as well. I certainly appreciate your input, please keep it coming. Thanks Tim. |
Hi Tim, Some more notes and questions. Feel free to add them to - the closed - Did you create a shareable image on Vax, with a transfer vector? The SQLITE3_SHR.VAX_OPT seems incomplete, at least for building a Do I need zlib (on Alpha) as well? I didn't have it for sqlite3 3.7.14.1. For Vax the options say BIN_DIR:SQLITE3_SHR.OLB/LIB, but for Alpha the Temporarily I simply use $ dir to add all the objects to the shareable image. What is the OLB good for, To be honest, I have no idea how to use teco with .tes. And there is no There is no rule/action to generate SQLITE3.AXP_OPT. Temporarily and $ dir Up to now, you didn't check or apply the patch to shell.c. Is the Anyway, the open fails because of Also, it may be useful to signal the error or to log it when Greetings, On 03/15/2013 02:56 AM, Tim E. Sneddon wrote:
-$(BINDIR)SQLITE3_SHR.EXE : $(ETCDIR)CONFIG.H,-
+$(BINDIR)SQLITE3_SHR.EXE : $(ETCDIR)CONFIG.H,-
|
Hi Tim, I got a working environment and got sqlite3 to do something: it looks Regards,
|
Hi hb, Sorry it's a bit late, but here is my response. I see you've already sent something more, so I'll finish here and then move on to that one.
All my initial testing and development was done with a monolithic SHELL.EXE. My TECO macro, nearly finished as I've been busy with other things, actually generates it for me.
I have no idea why that is in there. It was a part of my original build procedure I wrote about 18 months ago, it can be dropped if it is not needed. I certainly have no recollection of why it was included.
Typically, if I can, I do most of my development on VAX systems. This is so that I don't do anything particularly drastic that makes it difficulty to port back to the older 32-bit environment. Once VAX works I move on to other architectures. As for the object library, well I just tend to gather up my objects. I think it makes it a bit easier to manage.
There will be rules in the DESCRIP.MMS that know how to run the TECO macros. The current design is to read the listing from the object library, drop any names containing an underscore and before including a name in the symbol vector it looks it up in sqlite3.h to make sure it is public. The symbol vectore is then written out in a human readable format that maintains the order of the symbol. Following that an architecture specific rendering of the table is then written out too. The macro also checks and reports on new symbols that do not exist in the symbol table, as well as reporting on symbols that have disappeared. I am considering generating a GSMATCH based on the output of this macro.
I had simply just not gotten round to editting it and storing it back. There were a few silly typos like that because I merged the new SHELL.C with my olds one by hand. I was busy getting the sharable image sorted out and had just not gotten to the point of compiling SHELL.C
The plan is to have SQLITE3_SHR installed with the SYSLCK procedure via an SQLITE3_STARTUP.COM procedure. My plan for release is to ship in a PCSI kit (and possibly VMSINSTAL) which will construct startup procedures, etc. on install.
I will give this some consideration. Thanks for your comments hb, your input on this has really been welcomed and thoroughly appreciated. Regards, Tim. |
Hi hb, This is great news! I'm glad to hear you've got a working environment. I was looking at some of my notes from back when I originally began the port and one of the problems I noticed was in the VACUUM command. After executing it the database file became unusable. I didn't get to figuring it out, but it was a known problem. Thanks for you patch. I'll look it over and see what bits to pick out. Thanks again, Tim. |
On 03/16/2013 05:52 PM, Tim E. Sneddon wrote:
This seems to be caused by an SS$_ACCONFLICT returned from the qio to An exception occurs when a truncate subfunction is requested for a hb PS: Is there a reason the include files in the repository are all |
... and ...
The text was updated successfully, but these errors were encountered: