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 --enable-csdefault       make bc     
  make install-bc
this will build racket bc in `../bin`. notice here if we run `make && make 
install` (i.e. without the bc words), it will still build racket bc but not 
racket cs.
 then we run
       ./configure --enable-cs --enable-bc --enable-csdefault \                 
  --enable-racket=../bin/racketbc       make cs       make install-cs

this will build and install racket cs in `../bin`.
So I think the document about this is not such accurate.
 Greetings.

Killian Zhuo (KDr2, https://kdr2.com)

 

    On Saturday, February 6, 2021, 10:32:23 AM GMT+8, Matthew Flatt 
<[email protected]> wrote:  
 
 At Sat, 6 Feb 2021 01:03:54 +0000 (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 repo is not set up to work with
`configure`, etc., out of the box.

But a plain `make` in the top-level directory of the Git repo will sort
out the needed bootstrapping automatically. Just use `make` at the top
of the repo --- I'm pretty sure that's what you'll want to do.


For more information, see "build.md" at the top of the repo:

https://github.com/racket/racket/blob/master/build.md#1-building-racket-from-source

As it says there, another possibility is to get a source distribution,
and that will work in the `configure`, etc., way that you expect.


Hope that helps,
Matthew

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20210205193215.12e%40sirmail.smtps.cs.utah.edu.
  

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/1373043074.984005.1612594219367%40mail.yahoo.com.

Reply via email to