From e62a02d5af90e243bf5d84fdf2ac3567e94bdf58 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sat, 20 Mar 2010 20:13:14 +0100 Subject: [PATCH] versioning for GTK wrappers --- lib/wrappers/gtk/glib2.nim | 6 +++--- lib/wrappers/gtk/gtk2.nim | 2 +- web/question.txt | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/wrappers/gtk/glib2.nim b/lib/wrappers/gtk/glib2.nim index bfa65471ad..d7414cbcb2 100755 --- a/lib/wrappers/gtk/glib2.nim +++ b/lib/wrappers/gtk/glib2.nim @@ -6,9 +6,9 @@ when defined(windows): gobjectlib = "libgobject-2.0-0.dll" else: const - gliblib = "libglib-2.0.so" - gmodulelib = "libgmodule-2.0.so" - gobjectlib = "libgobject-2.0.so" + gliblib = "libglib-2.0.so(|.0)" + gmodulelib = "libgmodule-2.0.so(|.0)" + gobjectlib = "libgobject-2.0.so(|.0)" # gthreadlib = "libgthread-2.0.so" type diff --git a/lib/wrappers/gtk/gtk2.nim b/lib/wrappers/gtk/gtk2.nim index 987c40f696..f1690048b9 100755 --- a/lib/wrappers/gtk/gtk2.nim +++ b/lib/wrappers/gtk/gtk2.nim @@ -17,7 +17,7 @@ elif defined(darwin): # linklib atk-1.0.0 else: const - lib = "libgtk-x11-2.0.so" + lib = "libgtk-x11-2.0.so(|.0)" const MAX_COMPOSE_LEN* = 7 diff --git a/web/question.txt b/web/question.txt index 6cd44391d0..bce9c0c74b 100755 --- a/web/question.txt +++ b/web/question.txt @@ -53,10 +53,9 @@ and their interactions are subject to change. How fast is Nimrod? ------------------- Benchmarks have not been ported yet and support for threads is missing. But in -the worst case, you can get exactly the same performance as in C if you decide +the worst case, you can get the same performance as in C if you decide to write as low-level Nimrod code as C requires you to do. That said the only -overhead Nimrod has over C is the GC which has been tuned for years (and is -significantly faster than the Boehm GC). +overhead Nimrod has over C is the GC which has been tuned for years. Compilation