Re: [racket-users] Error while compiling Racket BC

2021-02-05 Thread 'Killian Zhuo (KDr2)' via Racket Users
Thank you for the reply, it helped me a lot. I was following  https://github.com/racket/racket/blob/master/racket/src/README.txt to build a minimal racket (both bc and cs), and now I found out a way to do that: in `racket/src` directory:        ./configure --enable-cs --enable-bc

Re: [racket-users] Error while compiling Racket BC

2021-02-05 Thread Matthew Flatt
At Sat, 6 Feb 2021 01:03:54 + (UTC), "Killian Zhuo (KDr2)" wrote: > Hi, I use `--enable-racket=` because that I found that without it I can't > build > Racket CS: > I ran  > ``` ./configure --enable-cs --enable-bc --enable-csdefault > make make install``` True --- that won't work. The Git

Re: [racket-users] Error while compiling Racket BC

2021-02-05 Thread 'Killian Zhuo (KDr2)' via Racket Users
Hi, I use `--enable-racket=` because that I found that without it I can't build Racket CS: I ran  ``` ./configure --enable-cs --enable-bc --enable-csdefault make make install``` After that only racketbc is built and installed, then I ran `make cs` to built CS explicitly, and error occurs:

Re: [racket-users] Error while compiling Racket BC

2021-02-05 Thread Matthew Flatt
Maybe I missed some context, but why are you using `--enable-racket`? Normally, with a Git checkout, you'd just use `make cs` and/or `make bc` in the root directory. Using `--enable-racket` is mostly for cross compilation. At Fri, 5 Feb 2021 17:57:31 -0600, Shu-Hung You wrote: > The snapshot

Re: [racket-users] Error while compiling Racket BC

2021-02-05 Thread Shu-Hung You
The snapshot build here may help: https://snapshot.racket-lang.org/ The HEAD version could add new internal primitives from time to time. Shu-Hung On Fri, Feb 5, 2021 at 5:52 PM 'Killian Zhuo (KDr2)' via Racket Users wrote: > > Thank you, does that mean I need a v8.0.0.5 to compile a v8.0.0.5?

Re: [racket-users] Error while compiling Racket BC

2021-02-05 Thread Sam Tobin-Hochstadt
In general, yes, although you can often get away with slightly older. On Fri, Feb 5, 2021, 6:52 PM 'Killian Zhuo (KDr2)' via Racket Users < racket-users@googlegroups.com> wrote: > Thank you, does that mean I need a v8.0.0.5 to compile a v8.0.0.5? > > I thought v7.9 is new enough... > >

Re: [racket-users] Error while compiling Racket BC

2021-02-05 Thread 'Killian Zhuo (KDr2)' via Racket Users
Thank you, does that mean I need a v8.0.0.5 to compile a v8.0.0.5? I thought v7.9 is new enough... Greetings. Killian Zhuo (KDr2, https://kdr2.com) On Saturday, February 6, 2021, 07:47:41 AM GMT+8, Sam Tobin-Hochstadt wrote: This means that you're building with a previous version

Re: [racket-users] Error while compiling Racket BC

2021-02-05 Thread Sam Tobin-Hochstadt
This means that you're building with a previous version of Racket that is too old (which might be quite recent but is nonetheless too old to use in place of bootstrapping). Sam On Fri, Feb 5, 2021, 6:44 PM 'Killian Zhuo (KDr2)' via Racket Users < racket-users@googlegroups.com> wrote: > Here is