Re: NASM ld support?
Re: NASM ld support?
- Subject: Re: NASM ld support?
- From: email@hidden
- Date: Wed, 1 Feb 2006 11:14:27 -0800
I wanted to take advantage of some code already written in NASM
assembly and I see that the latest 2.2.1 tools now give us nasm. I
checked on the sf.net page and I assume that the 2.2.1 version of nasm
is the most up to date.
I'm afraid I don't know anything about your particular issue, but in
general, you should try using nasm built from Sourceforge CVS. It
may be newer than what Apple ships, and may have important fixes
relating to MachO support. In particular, section alignment support
is critical for all SSE code, and is in CVS, but is not in 2.2.1's
nasm. Building nasm is trivial:
cvs -d:pserver:email@hidden:/cvsroot/nasm login
cvs -z3 -d:pserver:email@hidden:/cvsroot/nasm co -P
nasm
cd nasm
autoheader
autoconf
./configure
make
sudo make install
You'll get an error, most likely, on the install, complaining that /
usr/man doesn't exist. Ignore that; unless you really want the docs
installed there, in which case make the necessary directories
beforehand. nasm and ndisasm will be both be installed correctly.
Note that if you want the latest documentation as well, you'll want
to do a "make everything" instead of just "make", although that
requires you to have ps2pdf installed. But the man page in CVS
should be the latest anyway, so just creating /usr/man/man1/ should
be enough, if you follow the instructions above.
Wade
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden