Author Topic: Compiler that works in Ubuntu ?  (Read 12409 times)

Magnum

  • Member
  • *****
  • Posts: 2399
Compiler that works in Ubuntu ?
« 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
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

CommonTater

  • Guest
Re: Compiler that works in Ubuntu ?
« Reply #1 on: December 04, 2012, 09:32:47 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

  • Member
  • *****
  • Posts: 2399
Re: Compiler that works in Ubuntu ?
« Reply #2 on: December 04, 2012, 09:35:57 AM »
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

  • Member
  • *****
  • Posts: 4196
  • Forgive your enemies, but never forget their names
Re: Compiler that works in Ubuntu ?
« Reply #3 on: December 04, 2012, 08:53:52 PM »
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

  • Member
  • ***
  • Posts: 315
Re: Compiler that works in Ubuntu ?
« Reply #4 on: December 05, 2012, 02:03:49 AM »
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

  • Member
  • *****
  • Posts: 2399
Re: Compiler that works in Ubuntu ?
« Reply #5 on: December 05, 2012, 02:15:36 AM »
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

  • Member
  • ***
  • Posts: 315
Re: Compiler that works in Ubuntu ?
« Reply #6 on: December 05, 2012, 02:36:40 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:
Quote
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.

Vortex

  • Member
  • *****
  • Posts: 2788
Re: Compiler that works in Ubuntu ?
« Reply #7 on: December 05, 2012, 05:06:28 AM »
Hi Magnum,

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

Magnum

  • Member
  • *****
  • Posts: 2399
Re: Compiler that works in Ubuntu ?
« Reply #8 on: December 05, 2012, 05:22:17 AM »
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

  • Member
  • ***
  • Posts: 488
Re: Compiler that works in Ubuntu ?
« Reply #9 on: December 05, 2012, 05:36:54 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

  • Member
  • *****
  • Posts: 2788
Re: Compiler that works in Ubuntu ?
« Reply #10 on: December 05, 2012, 05:37:02 AM »
Hi Magnum,

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

Greenhorn

  • Member
  • ***
  • Posts: 488
Re: Compiler that works in Ubuntu ?
« Reply #11 on: December 05, 2012, 05:43:45 AM »
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

  • Member
  • *****
  • Posts: 2399
Re: Compiler that works in Ubuntu ?
« Reply #12 on: December 05, 2012, 07:53:48 AM »
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

  • Member
  • ***
  • Posts: 488
Re: Compiler that works in Ubuntu ?
« Reply #13 on: December 05, 2012, 08:10:09 AM »
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
« Last Edit: December 05, 2012, 11:24:58 AM by Greenhorn »
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

MichaelW

  • Global Moderator
  • Member
  • *****
  • Posts: 1196
Re: Compiler that works in Ubuntu ?
« Reply #14 on: December 05, 2012, 03:51:50 PM »
Why no mention of the GNU assembler?
Well Microsoft, here’s another nice mess you’ve gotten us into.