The MASM Forum
Miscellaneous => The Orphanage => Topic started by: Magnum on December 04, 2012, 09:13:57 AM
-
I am looking for a Freeware compiler that works under Ubuntu 11.0 but not having much luck so far.
Hexeditor too.
Andy
-
I am looking for a Freeware compiler that works under Ubuntu 11.0 but not having much luck so far.
Hexeditor too.
Andy
http://manpages.ubuntu.com/manpages/gutsy/man1/as86.1.html
-
It's a complete 8086 assembler and loader which can make 32-bit
code for the 386+ processors (under Linux it's used only to create
the 16-bit bootsector and setup binaries).
I may play with it anyway.
Andy
-
Andy,
you could also try yasm or nasm. The gcc must be there, because it's the system compiler.
Gunther
-
Hi Andy,
What compiler you are looking for?
I've installed several compilers in my Ubuntu box (C/C++, Pascal, Haskell), and as far as I can recall, they work as expected.
-
Thanks Anta40.
I am looking to make programs in assembly if they have one for Linux.
I have Ubuntu on a thumbdrive and would like to make some programs for it.
I am trying to figure out how to get the wireless network to work under Ubuntu so I can use their Firefox.
Andy
-
I am looking to make programs in assembly if they have one for Linux.
If you want MASM-style assembler, use jwasm.
But if you don't mind different syntax, try nasm/yasm/fasm.
nasm & yasm are available in the repository:
http://packages.ubuntu.com/precise/yasm
http://packages.ubuntu.com/precise/nasm
so you can easily install them by this 1 line:
sudo apt-get install nasm yasm build-essential
BTW, build-essential is the basic development toolset (gcc, ld, ar, etc).
I have Ubuntu on a thumbdrive and would like to make some programs for it.
I am trying to figure out how to get the wireless network to work under Ubuntu so I can use their Firefox.
There are several useful tools for that purpose: networkmanager, wpa_supplicant, etc
Sometimes getting the wireless network to work under Linux can be quite tricky, e.g if you're using Broadcom chip.
So wired connection is still needed to install the driver.
Hope that helps.
-
Hi Magnum,
If you are looking for an assembler targeting Linux, JWasm is your best choice.
-
I installed Ubuntu to my flashdrive, but it is not saving my settings.
You would think the default if someone was installing an O.S. is for it to write to the media.
:t
Andy
-
Hi Magnum,
If you are looking for an assembler targeting Linux, JWasm is your best choice.
Full ACK. :)
I recommend Linux Mint (http://www.linuxmint.com/index.php), which is based on Ubuntu, but much better and without the annoying Unity Desktop.
You can create a persistent (http://www.linuxliveusb.com/en/help/faq/persistence) Live Linux on a USB thumb drive easily with LiLi (http://www.linuxliveusb.com/).
Greenhorn
-
Hi Magnum,
Did you install Ubuntu as live environment? This is why probably it does not save any setting.
-
If you are not familiar with ld, you can try JWlink (http://www.japheth.de/JWlink.html) beta 9, which is also available for Linux systems.
-
I installed Linux Mint as live persistence.
I haven't figured out how to view and save files to the USB thumbdrive while Mint is running.
Andy
-
Just put the files into the folder you want to store them. It should work properly.
For example, put some files into your home directory or a subdirectory and reboot the system. It should be still there if you've done all right (http://www.linuxliveusb.com/en/help/faq/persistence/55-how-to-check-if-the-persistence-is-working-).
It should also work for the /bin directory, but I'm not sure here ...
The proof of the pudding is the eating. :biggrin:
EDIT: And for a hex editor take a look at Bless or GHex in your packet manager.
EDIT2: For network connection just click the network icon in the task bar. You see there all available networks. Choose your network and type in the WPA2 key and pw, if required.
Greenhorn
-
Why no mention of the GNU assembler?
-
Why no mention of the GNU assembler?
Probably because gas is intended to be feed from compiler output?
I read this somewhere else, can't remember the exact source though.
Of course, nobody stop you from using gas.
-
Probably because gas is intended to be feed from compiler output?
It was, with the AT&T syntax, but GAS has for a long time supported an Intel syntax, that at least for the Windows versions is based on a MASM 6.0 grammar, so the syntax is very similar to MASM (although there is no high-level syntax). Unfortunately, the macro system is not at all similar and weak by comparison.
-
It was, with the AT&T syntax, but GAS has for a long time supported an Intel syntax, that at least for the Windows versions is based on a MASM 6.0 grammar, so the syntax is very similar to MASM (although there is no high-level syntax). Unfortunately, the macro system is not at all similar and weak by comparison.
Yes. GAS makes a good job and you've the specific assembly language feeling of the older days. I've seen some code, made by Intel, using GAS.
Gunther