From owner-freebsd-questions@FreeBSD.ORG Fri Jun 12 06:37:55 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 488FE68E for ; Fri, 12 Jun 2015 06:37:55 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:c:538::195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE5021783 for ; Fri, 12 Jun 2015 06:37:54 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from mfilter36-d.gandi.net (mfilter36-d.gandi.net [217.70.178.167]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 91B4AA80CD; Fri, 12 Jun 2015 08:37:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter36-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter36-d.gandi.net (mfilter36-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id C8gRqR4tn3+4; Fri, 12 Jun 2015 08:37:49 +0200 (CEST) X-Originating-IP: 10.58.1.149 Received: from webmail.gandi.net (webmail9-d.mgt.gandi.net [10.58.1.149]) (Authenticated sender: mayuresh@kathe.in) by relay3-d.mail.gandi.net (Postfix) with ESMTPA id 14522A80AA; Fri, 12 Jun 2015 08:37:48 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 12 Jun 2015 12:07:48 +0530 From: Mayuresh Kathe To: Mehmet Erol Sanliturk Cc: Matthew Pherigo , FreeBSD Questions Mailing List Subject: Re: randall hyde's high level assembly! Reply-To: mayuresh@kathe.in Mail-Reply-To: mayuresh@kathe.in In-Reply-To: References: <731c3f79950e679799b5f8078a5ba7f0@kathe.in> <917AE52A-45E0-42CB-A6A8-40BAAE318CC9@gmail.com> <1c5f3e6e3cafb9022d257afcce1757b3@kathe.in> <6ee4e8712a7499dd3d703e540f46059b@kathe.in> Message-ID: <23f251dd1a66d0a88ed041ae2593cb98@kathe.in> X-Sender: mayuresh@kathe.in User-Agent: Roundcube Webmail/1.1.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2015 06:37:55 -0000 On 2015-06-12 11:24, Mehmet Erol Sanliturk wrote: > On Thu, Jun 11, 2015 at 10:45 PM, Mayuresh Kathe > wrote: > >> On 2015-06-12 11:04, Mehmet Erol Sanliturk wrote: >> On Thu, Jun 11, 2015 at 9:29 PM, Mayuresh Kathe >> wrote: >> >> hi matthew, >> >> no luck, I got the following message; >> root@www:~ # pkg install hla >> Updating FreeBSD repository catalogue... >> FreeBSD repository is up-to-date. >> All repositories are up-to-date. >> pkg: No packages available to install matching 'hla' have been >> found in the repositories >> >> `uname -a` gives me the following; >> FreeBSD www.kathe.in [1] [1] 10.1-RELEASE-p10 FreeBSD >> 10.1-RELEASE-p10 >> #0: Wed May 13 06:54:13 UTC 2015 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> `freebsd-version` gives me the following; >> 10.1-RELEASE-p11 >> >> anything i might be doing wrong? >> >> ~mayuresh >> >> On 2015-06-12 09:26, Matthew Pherigo wrote: >> Hey Mayuresh, >> >> There's actually a port in the tree already! 'pkg install hla' >> >> --Matt >> >> On Jun 11, 2015, at 5:52 AM, Mayuresh Kathe >> wrote: >> >> has anyone been successful at working with randall hyde's high >> level assembly toolkit under freebsd 10.x? >> http://www.plantation-productions.com/Webster/ [2] [2] claims to >> have a >> pre-built archive, but one that fails to assemble the binaries. :( >> >> ~mayuresh >> >> _______________________________________________ >> >> Is hla able to generate 64-bit machine code for amd64 ? >> >> It seems that it is for 32-bits , i.e. i386 . > > i have been able to run and test 'hla' under amd64 systems running > ubuntu. > any particular reason why it will not run under freebsd 64-bit? > one of the things that could be a problem might be the "assembler" > itself, i couldn't find "gas" or an equivalent under freebsd. > > ~mayuresh > > Can you use Nasm ? > > CD /USR/PORTS/DEVEL/NASM > MAKE INSTALL > > http://forum.nasm.us/index.php?topic=1283.0 [3] thanks for that tip mehmet, much appreciate it. i hadn't known about "nasm", looking it up led me to a book on assembly language programming by jeff duntemann, which seems to be a lot more realistic than the one by randall hyde. again, thanks a million mehmet. :) ~mayuresh