[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-commits
Subject:    Re: [Haiku-commits] r29798 - haiku/trunk/build/jam
From:       Urias McCullough <umccullough () gmail ! com>
Date:       2009-03-31 15:16:06
Message-ID: 1e80d8750903310816r7dd1bd04m39b13acb0106e0ed () mail ! gmail ! com
[Download RAW message or body]

On Mon, Mar 30, 2009 at 6:27 PM, David McPaul <dlmcpaul@gmail.com> wrote:
> On 2009-03-31, François Revol <revol@free.fr> wrote:
>> > Add nasm rule and action
>>
>> Hmm do we have nasm in the tools ?
>>
>> Will I have to install it in BeOS ?
>
> Nasm is not in the tools.  There is/was a port of nasm for BeOS in BeBits.

The version on bebits is pretty old at this point.

> Haiku Ports have a yasm port
> http://ports.haiku-files.org/tags?q=%27yasm%27 that can be used as a
> replacement.
>
> yasm is backwards compatable with nasm and I think is getting the most
> support these days so I think that it is probably the best candidate
> for being put into the tools directory.

> I have versions of both nasm and yasm compiled for BeOS if you need them.

There is already a yasm optional package, just add "Yasm" to your
optional packages when building Haiku.

I have built a newer nasm on Haiku and it works fine. I apologize for
not updating HaikuPorts with my info, nor providing a binary package.
I'll try to do that soon.

There are indeed some incompatibilities with yasm's nasm support. When
I was porting dnetc I ran into several of these, and ended up having
to use nasm instead. Since then, the dnetc guys have fixed their asm
to be more compatible with yasm, and I will probably use it next time
I do a build. I believe they also reported that using yasm provided a
very slight speedup (or maybe it was actually the refactoring of the
crappy code :D). In any case, yasm supports 64-bit where nasm doesn't,
so it's probably a better choice to "standardize" on moving forward.

- Urias
_______________________________________________
Haiku-commits mailing list
Haiku-commits@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/haiku-commits

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic