[cfe-dev] trouble getting Hello World / gas / Mac OS X to work

Charles Davis cdavis5x at gmail.com
Mon Oct 15 12:07:56 PDT 2012


On Oct 15, 2012, at 12:49 PM, Andrew Pennebaker wrote:
> $ clang -c -o hello.o hello.s

Try:

$ clang -arch i386 -c -o hello.o hello.s

When I assembled it 32-bit instead of 64-bit, it worked fine.

Chip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121015/466b03a8/attachment.html>


More information about the cfe-dev mailing list