Hi to everyone!

How can I set a new include path into the library loader of parrot?

A gcc-like '-I' flag would be desirable instead of the raw @INC like perl5 does.

Is the library path crosslanguage? How parrot handles these include paths for 
other
languages than pasm/pir? I'm mixing concepts? How this is done/(going to be 
done) on parrot.

Why my parrot can't find the installed libraries on $prefix/lib/parrot/ ? 
library.c
uses relative paths, does it means that parrot does not finds the libraries (on 
last
instance) there?

And more comments O:)

library.c:117 -- shouldn't this code must live inside a #if __Darwin__ clause? 
(refering to the comment)

    /* OS/X has .dylib and .bundle */ 
    if (strcmp(PARROT_LOAD_EXT, PARROT_SHARE_EXT)) {
        entry = const_string(interp, PARROT_SHARE_EXT);
        VTABLE_push_string(interp, paths, entry);
    }

library.c:155 -- The XXX comment should not be there. This function only returns
                 a boolean value. And it is fine for *NIX

library.c:260 -- set LOAD_EXT_CODE_LAST equal to 4.
                - this change will drop a +1 on the following line and will 
make the
                  for loop of library.c:321 more logical. (use < instead of <= 
comparisions)

  --pancake

Reply via email to