News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Compiler that works in Ubuntu ?

Started by Magnum, December 04, 2012, 09:13:57 AM

Previous topic - Next topic

Magnum

I am looking for a Freeware compiler that works under Ubuntu 11.0 but not having much luck so far.
Hexeditor too.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

CommonTater

Quote from: 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

http://manpages.ubuntu.com/manpages/gutsy/man1/as86.1.html

Magnum

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
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Gunther

Andy,

you could also try yasm or nasm. The gcc must be there, because it's the system compiler.

Gunther
You have to know the facts before you can distort them.

anta40

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.

Magnum

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
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

anta40

Quote from: Magnum on December 05, 2012, 02:15:36 AM
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:
Quotesudo 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.

Quote from: Magnum on December 05, 2012, 02:15:36 AM
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.

Vortex

Hi Magnum,

If you are looking for an assembler targeting Linux, JWasm is your best choice.

Magnum

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
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Greenhorn

Quote from: Vortex on December 05, 2012, 05:06:28 AM
Hi Magnum,

If you are looking for an assembler targeting Linux, JWasm is your best choice.
Full ACK. :)

I recommend Linux Mint, which is based on Ubuntu, but much better and without the annoying Unity Desktop.
You can create a persistent Live Linux on a USB thumb drive easily with LiLi.


Greenhorn
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

Vortex

Hi Magnum,

Did you install Ubuntu as live environment? This is why probably it does not save any setting.

Greenhorn

If you are not familiar with ld, you can try JWlink beta 9, which is also available for Linux systems.
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

Magnum

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
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Greenhorn

#13
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.
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
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

MichaelW

Why no mention of the GNU assembler?
Well Microsoft, here's another nice mess you've gotten us into.