64-bit problem on Mac
Hi, I wanted to look at the old problem of building 64-bit PicoLisp on Mac OS X. Assemblers are far from what I usually play with, but at least I'd like to spend a few hours today on this problem. From what I've found on the net, I got the impression that the standard (?) assembler on OSX is nasm, and that the nasm versions found on Macs are often quite old (just do nasm -v, and you'll see). My idea then was that it might help to install an up-to-date version. Then I wanted to check which version I had on my Ubuntu, where I build 64-bit PicoLisp without problem, but on my Ubuntu I found no nasm; here as (2.20.1) seems to be the standard assembler. On Mac (OSX 10.6.7) even as is not very new, I found 1.38. Maybe I should try to upgrade as instead of nasm ... Any comments? /Jon -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: 64-bit problem on Mac
I thougt PicoLisp used its' own assembler? On Thu, Jun 16, 2011 at 11:24:05AM +0200, Jon Kleiser wrote: Hi, I wanted to look at the old problem of building 64-bit PicoLisp on Mac OS X. Assemblers are far from what I usually play with, but at least I'd like to spend a few hours today on this problem. From what I've found on the net, I got the impression that the standard (?) assembler on OSX is nasm, and that the nasm versions found on Macs are often quite old (just do nasm -v, and you'll see). My idea then was that it might help to install an up-to-date version. Then I wanted to check which version I had on my Ubuntu, where I build 64-bit PicoLisp without problem, but on my Ubuntu I found no nasm; here as (2.20.1) seems to be the standard assembler. On Mac (OSX 10.6.7) even as is not very new, I found 1.38. Maybe I should try to upgrade as instead of nasm ... Any comments? /Jon -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: 64-bit problem on Mac
Hi Alex, Hi Jon, I wanted to look at the old problem of building 64-bit PicoLisp on Mac OS Great! :) .. I hope this gives you some hints to get started. We can try to tackle this together once we find out what exactly goes wrong. Cheers, - Alex It's probably best to continue this on IRC. I have some other business for about one hour. I'll log in when I'm ready. /Jon -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: 64-bit problem on Mac
Hi Jon, It's probably best to continue this on IRC. I have some other business for about one hour. I'll log in when I'm ready. OK, fine. See you! Cheers, - Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: 64-bit problem on Mac
Hi Jakob, I thougt PicoLisp used its' own assembler? Well, yes and no. The assembly language PicoLisp is written in, is its' own. It is described in http://software-lab.de/doc64/asm; (language and virtual CPU architecture). The build procedure (triggered by the script src64/mkAsm) translates the sources in that assembly language to GNU's assembly language. The GNU 'as' in turn is very portable. This still implies, however, that for a new architecture some porting effort is necessary. Architecture dependent files must be written, residing in the src64/arch/ and src64/sys/ directories. In case of MacOS, we can use the existing src64/arch/x86-64.l, though. Cheers, - Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: 64-bit problem on Mac
On Thu, Jun 16, 2011 at 12:02:23PM +0200, Alexander Burger wrote: As far as I remember, the only remaining problem was not that of the assembler, but of the linker, or, more correctly, the final output file format. The last time we discussed it here was: http://www.mail-archive.com/picolisp@software-lab.de/msg01522.html -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe