Re: Compiling on Mac (was: 'native' and "errno" or *Err)

2009-07-14 Thread Alexander Burger
Hi Randall, > I don't have the specifics in my head, but it complains that it cannot > find *darwin*.s files. Ah, yes, sorry! This makes sense. "Makefile" looks at the system. I don't know how similar Darwin is to Linux. Perhaps we should start with copying the file src64/x86-64.linux.base.

Compiling on Mac (was: 'native' and "errno" or *Err)

2009-07-14 Thread randall . dow
Hi Alex, I don't have the specifics in my head, but it complains that it cannot find *darwin*.s files. And when I just try "as linux.*.s" I get a lot of error messages. I haven't looked deeper yet, but the "as" may be tuned somehow for Mac - it is GNU "as", but . I'll take a closer look this

Re: 'native' and "errno" or *Err

2009-07-14 Thread Alexander Burger
Hi Randall, > I tried to compile the 64 bit version on my macbook yesterday - no > joy. I think I have to create the /usr/bin/picolisp and > /usr/lib/picolisp links to the 32 bit version and then create the .s > files. I didn't get that far yet. This should not be necessary. The .s files are in

Re: 'native' and "errno" or *Err

2009-07-14 Thread randall . dow
Hi Alex, I tried to compile the 64 bit version on my macbook yesterday - no joy. I think I have to create the /usr/bin/picolisp and /usr/lib/picolisp links to the 32 bit version and then create the .s files. I didn't get that far yet. Thanks for the 'errno' call. I'll try again this evening

Re: 'native' and "errno" or *Err

2009-07-14 Thread Alexander Burger
Hi Randall, > How do I get the value of "errno" after my call? Now there is an 'errno' function (64 bits only). For example: : (in "mist" (read)) # Produce an error !? (in "mist" (read)) "mist" -- Open error: No such file or directory : (errno) # Get the error number -> 2 The

Re: 'native' and "errno" or *Err

2009-07-13 Thread Alexander Burger
Hi Randall, > I am trying to use 'native', am getting only 'NIL' as the return > value, where I would like to be getting a file descriptor number. If you supply the symbol 'I' as the argument to native, (native "fun" "lib" ..) you'll get the int return value from the native function. For

'native' and "errno" or *Err

2009-07-13 Thread Randall Dow
Hi Alex, I am trying to use 'native', am getting only 'NIL' as the return value, where I would like to be getting a file descriptor number. How do I get the value of "errno" after my call? Cheers, - Rand -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe