Accessing mkdir?

View: New views
3 Messages — Rating Filter:   Alert me  

Accessing mkdir?

by Raymond Toy-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can any one help me to get gcl to allow me to call mkdir?

I've tried a few obvious things, but everyone fails when loading the
generated .o file.  It says it can't find mkdir. :-(

Am I missing something?  Oh, I've been using gcl 2.6.7 and
2.6.8pre-something for this, if it matters.

Ray



_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel

Re: Accessing mkdir?

by Gabriel Dos Reis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jan 26, 2008 at 11:09 AM, Raymond Toy <toy.raymond@...> wrote:
> Can any one help me to get gcl to allow me to call mkdir?
>
>  I've tried a few obvious things, but everyone fails when loading the
>  generated .o file.  It says it can't find mkdir. :-(

maybe a stupid question:  which function `mkdir' are you referring to?
The one built into GCL? Or the one accessible from POSIX?  Or the
one from the shell?

>
>  Am I missing something?  Oh, I've been using gcl 2.6.7 and
>  2.6.8pre-something for this, if it matters.
>
>  Ray
>
>
>
>  _______________________________________________
>  Gcl-devel mailing list
>  Gcl-devel@...
>  http://lists.gnu.org/mailman/listinfo/gcl-devel
>


_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel

Parent Message unknown Re: Accessing mkdir?

by Gabriel Dos Reis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Mar 17, 2008 at 6:50 AM, Raymond Toy <toy.raymond@...> wrote:

> Gabriel Dos Reis wrote:
>  > On Sat, Jan 26, 2008 at 11:09 AM, Raymond Toy <toy.raymond@...> wrote:
>  >
>  >> Can any one help me to get gcl to allow me to call mkdir?
>  >>
>  >>  I've tried a few obvious things, but everyone fails when loading the
>  >>  generated .o file.  It says it can't find mkdir. :-(
>  >>
>  >
>  > maybe a stupid question:  which function `mkdir' are you referring to?
>  > The one built into GCL? Or the one accessible from POSIX?  Or the
>  > one from the shell?
>  >
>  >
>  Oh.  Is there one already available?  What is it called?  I tried
>  apropos but didn't find anything.

GCL comes with a `mkdir' function in package SYSTEM.


>
>  In any case, a simple example calling mkdir in libc would be nice.  I
>  can't figure out how to do it.
>

   (si::chdir dir)

works for me.

>  Ray
>
>


_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel
LightInTheBox - Buy quality products at wholesale price!