Hi all,

As y'all know, there are often weird problems that crop up when someone
is testing out CHICKEN 5, especially when installing to a directory where
a CHICKEN 4 installation used to be.  I think at least some of those
problems are due to the fact that they both install under the same
lib/chicken/8 dir and use libchicken.so.8, in spite of the fact that
CHICKEN 5 is very much *not* binary compatible with CHICKEN 4.

We should've done this much earlier I think, but now people are starting
to slowly test the waters with CHICKEN 5 it's getting more important to
bump the binary version.

Attached patch does this, I hope I haven't overlooked anything.

Cheers,
Peter
From 0f4fc112451bf64e820281432a6637aaf303eb2e Mon Sep 17 00:00:00 2001
From: Peter Bex <[email protected]>
Date: Sat, 15 Apr 2017 16:20:35 +0200
Subject: [PATCH] Bump binary compatibility version to 9

We haven't done so for CHICKEN 5, and it definitely is not compatible
with the current release of CHICKEN 4 anymore.
---
 NEWS                     |  1 +
 README                   |  6 +++---
 defaults.make            |  2 +-
 manual/Cross development | 12 ++++++------
 4 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/NEWS b/NEWS
index a107ebb..2464826 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@
   - Weak symbol GC is faster, simpler, and can now collect all
     unreferenced symbols instead of a maximum of 997 per major GC.
   - The -:w option has been removed; symbols are now always collected.
+  - Increased the "binary compatibility version" to 9.
 
 - Compiler
   - Fixed an off by one allocation problem in generated C code for (list ...).
diff --git a/README b/README
index 9d1c137..70ee855 100644
--- a/README
+++ b/README
@@ -272,7 +272,7 @@
 	|       `-- chicken.h
 	|-- lib
 	|   |-- chicken
-	|   |   `-- 8
+	|   |   `-- 9
 	|   |       |-- chicken.import.so
 	|   |       |-- chicken.bitwise.import.so
 	|   |       |-- chicken.compiler.user-pass.import.so
@@ -320,8 +320,8 @@
 	|   |-- libchicken.a
 	|   |-- libchicken.dll.a                      (Windows)
 	|   |-- libchicken.dylib                      (Macintosh)
-	|   |-- libchicken.so -> libchicken.so.8      (Unix)
-	|   `-- libchicken.so.8                       (Unix)
+	|   |-- libchicken.so -> libchicken.so.9      (Unix)
+	|   `-- libchicken.so.9                       (Unix)
 	`-- share
 	    |-- chicken
 	    |   |-- doc
diff --git a/defaults.make b/defaults.make
index 37f69a3..135ecd0 100644
--- a/defaults.make
+++ b/defaults.make
@@ -27,7 +27,7 @@
 
 # basic parameters
 
-BINARYVERSION = 8
+BINARYVERSION = 9
 STACKDIRECTION ?= 1
 CROSS_CHICKEN ?= 0
 
diff --git a/manual/Cross development b/manual/Cross development
index c96fead..5567897 100644
--- a/manual/Cross development	
+++ b/manual/Cross development	
@@ -93,12 +93,12 @@ You should now have these files on {{~/target}}:
  |   `-- chicken.h
  |-- lib
  |   |-- chicken
- |   |   `-- 8
+ |   |   `-- 9
  |   |       :
  |   |
  |   |-- libchicken.a
- |   |-- libchicken.so -> libchicken.so.8
- |   `-- libchicken.so.8
+ |   |-- libchicken.so -> libchicken.so.9
+ |   `-- libchicken.so.9
  `-- share
      |-- chicken
      |   |-- doc
@@ -166,12 +166,12 @@ In {{~/cross-chicken}}, you should find the following:
  |   `-- chicken.h
  |-- lib
  |   |-- chicken
- |   |   `-- 8
+ |   |   `-- 9
  |   |       :
  |   |
  |   |-- libchicken.a
- |   |-- libchicken.so -> libchicken.so.8
- |   `-- libchicken.so.8
+ |   |-- libchicken.so -> libchicken.so.9
+ |   `-- libchicken.so.9
  `-- share
      |-- chicken
      |   |-- doc
-- 
2.1.4

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to