<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<br><br>is it possible to let an embedded-executable start in a submodule?<br>If yes, how do you do this?<br><br>I tried<br>      (create-embedding-executable<br>         exe-name<br>         #:gracket? #f<br>         #:verbose? #f<br>         #:modules (if (build-subs B)<br>                                 `((#f ,filename ,(submods))<br>                                 `((#f ,filename)))<br>         #:configure-via-first-module? #t<br>         #:literal-expression<br>         (parameterize ([current-namespace (make-base-empty-namespace)])<br>           (namespace-require 'racket/base)<br>           (if (build-subs B)<br>               (compile `(namespace-require '(submod ',(string->symbol (path->string short-program-name))<br>                                                                                        ,(string->symbol (build-subs B)))))<br>               (compile `(namespace-require '',(string->symbol (path->string short-program-name)))))))<br><br>but I get:<br>    require: unknown module<br>          module name: #<resolved-module-path:(submod 'filename submods)><br>          context...:<br>           loop<br><br>Also, does the resolved-module-path structure mean that the path was completely resolved during compilation, or only the first step?<br>Any help would be appreciated,<br><br>Bert<br>                                        </div></body>
</html>