> If you look 
> athttp://www.sagemath.org/doc/tutorial/programming.html#section-standalone
> , you find the text:
> "It is also easy to access C functions defined in separate *.c files.
> Here’s an example. Create files test.c and test.spyx in the same
> directory with contents:"
>
> I'm using VMware player + Windows, so I have no direct access to
> Windows directories. Thus WHERE must I put the files test.c and
> test.spyx?

I'm assuming you have the following configuration from bottom up:

Windows -- VMware player -- Linux -- Sage

(correct me if I'm wrong here)

If this is the case, then you would need to place the files "test.c"
and "test.spyx" inside your virtual machine, so that it would be
visible to Linux.

Once that's done, you should be able to attach the "test.spyx" file
from within a running sage session by entering:
    attach("<path to file>/test.spyx")

This method should always work, since this specifies an absolute path.

If you want to simply use:
   attach("test.spyx")

then "test.spyx" would need to be in a directory that sage can find.
There must be some variable that specifies which directories sage will
try to search, but I don't actually know myself.

I apologize if I completely misinterpreted your question.

-- Tianwei

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to