What is the flag needed when buidling for Unix/Linuxto include the libmzgc
stuff? I'm currently using
./configure --enable-shared --enable-libs --enable-xonx
What I have been doing is manually copying over the .so files after running
make & make install from /build/racket/.libs to my ${prefix}/l
Hello,
I recently downloaded racket 6 on my linux machine and built it from
source. I attempted to run the command "raco ctool --c-mods base.c ++lib
racket/base" and I got an error that said that ++lib is an unknown flag. I
then found that this was an issue back in 2010 after digging around in
ou create "myCollection" and put "myModule_rkt.so" in
>
> myCollection/compiled/native/x86_64/3m/
>
> then you'll be able to import it from anywhere using
>
> (require myCollection/myModule)
>
>
>
> At Mon, 10 Feb 2014 11:20:15 -1000, Cody Eil
Lately I have been using (require "myModule.rlt") to access some extensions
that I wrote in C. The caveat with this is that I have to put my extensions
in the "special" directory compiled/native/x86_64/3m. This will end up to
be a major problem because I need my extensions accessible from anywhere
In order to require an extension, your racket file must have a subdirectory
called "compiled" where your shared objects live. What if I wanted my
extension to be visible every? Where is the best place to put my extension
in the racket directory?
Thanks
Racket Users list:
h
de -- into a
> separate file and have both modules include it? I figure I still must
> be missing something.
>
> On Thu, Feb 6, 2014 at 7:38 PM, Cody Eilar wrote:
> > Hmmm, I haven't had to wrap anything using extern C because all the
> function
> > prototypes are in
be given
> un-mangled names for the linker to use.
>
> On Thu, Feb 6, 2014 at 4:56 PM, Cody Eilar wrote:
> > I understand that, the issue is that I have to provide three functions
> that
> > are not static so that I can make my c++ code known to scheme. Those
> > functio
at 02:16:54PM -1000, Cody Eilar wrote:
> > > But what I really want is:
> > >
> > > Foo_ext.h:
> > >
> > > func1_racket_ext() { /*... do racket stuff and run func1() */}
> > >
> > > /* Scheme initializes etc... */
> > >
>
>
>
>
> I asked this same question on the dev side but didn't get any
> response, so I thought this list might be more appropriate. So I have been
> writing some racket extensions for some C++ classes using the tutorial (
> http://docs.racket-lang.org/inside/overview.html) on the racket site
9 matches
Mail list logo