Hello Basile.

Current version is not 3.2.91 in master repo at smalltalk.gnu.org

Debian stopped distributing GST because it could not build for modern Gtk. So 
don’t configure -- enable-gtk

I don’t know why your build fails with the regex.c file. Likely a mismatched 
version.

However, the textual user interface Transcript works from the v3.2.5-1.3+b2 
.deb install on Debian Bullseye.

You can use GPL code in any other GPL code. See COPYING file for details.

The mailing list can be searched for lots of helpful experiences compiling GST.

-- John

(P.S.: Pharo.org has or had a Smalltalk made in France.)

On Oct 8, 2025, at 9:50 AM, Basile Starynkevitch <[email protected]> 
wrote:

Hello all,

I am French and worked at CEA on GCC, see https://arxiv.org/abs/1109.0779 ...

On a Linux desktop (AMD Ryzen Threadripper 2970WX Debian/trixie with 64Gbytes 
RAM and
6.16.10+deb14-rt-amd64) I downloaded smalltalk-3.2.91 and configured it with
./configure  --enable-jit  --disable-silent-rules --enable-gtk CC=gcc 
CFLAGS='-O2 -g'

the gcc is a snapshot compiled by me:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-linux-gnu/16/lto-wrapper
Target: x86_64-linux-gnu
Configured with: /usr/src/Lang/gcc-16snap/configure -v --prefix=/usr/local 
--with-gcc-major-version-
only --program-suffix=-16 --enable-shared --enable-plugin --enable-default-pie 
--with-system-zlib --
disable-multilib --with-tune=native --enable-checking=release 
--enable-host-shared --build=x86_64-
linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu CFLAGS='-g -O2' 
CXXFLAGS='-g -O2' --
enable-werror build_alias=x86_64-linux-gnu host_alias=x86_64-linux-gnu 
target_alias=x86_64-linux-gnu
--enable-languages=c,c++,jit,lto
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.0 20250907 (experimental) (GCC) 

(FWIW, GNU lightning is also installed under /usr/local  ...)

GNU smalltalk failed to compile with:
[SNIP]

regex.c:

What did I do wrongly?

By the way, can I reuse some of the C code of GNU smalltalk in a GPL licensed 
inference engine project (RefPerSys on github, C++ mostly)


-- 
Basile STARYNKEVITCH                            <[email protected]>
8 rue de la Faïencerie                       http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                         https://github.com/bstarynk
France                                https://github.com/RefPerSys/RefPerSys


Reply via email to