Unix Bashing

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Octocontrabass
Member
Member
Posts: 5513
Joined: Mon Mar 25, 2013 7:01 pm

Unix Bashing

Post by Octocontrabass »

mathematician wrote:Off and on, I have spent the last few years looking for a C compiler which was:

a.) 64 bit
b.) Run under Windows
c.) Produced ELF files.
GCC is all three (including both interpretations of "64 bit"). Are there any other criteria that GCC does not satisfy?
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Re: Custom Programming Language

Post by mathematician »

Octocontrabass wrote:
mathematician wrote:Off and on, I have spent the last few years looking for a C compiler which was:

a.) 64 bit
b.) Run under Windows
c.) Produced ELF files.
GCC is all three (including both interpretations of "64 bit"). Are there any other criteria that GCC does not satisfy?
I know, but I hate Unix, and all its works; even when it comes in the form of Cygwin.
The continuous image of a connected set is connected.
Octocontrabass
Member
Member
Posts: 5513
Joined: Mon Mar 25, 2013 7:01 pm

Re: Custom Programming Language

Post by Octocontrabass »

mathematician wrote:I know, but I hate Unix, and all its works; even when it comes in the form of Cygwin.
I hate Cygwin too, that's why I use MinGW/MSYS. ;)
no92
Member
Member
Posts: 307
Joined: Wed Oct 30, 2013 1:57 pm
Libera.chat IRC: no92
Location: Germany
Contact:

Re: Custom Programming Language

Post by no92 »

mathematician wrote:I know, but I hate Unix, and all its works; even when it comes in the form of Cygwin.
You probably know that the vast majority of tools actually used for OSdeving purposes run only on Unices natively. Microsoft should be ashamed that they don't have a proper compiler that is capable of producing any other formats than PE. You may hate the design of UNIX-like systems, but you can't just hate the software for it in general (e.g. I don't exactly like Windows, but LoL is still a good game, even though it only runs on Windows and OS X).

Saying that you don't like anything UNIX-related is like nazi logic: as if you'd only see black and white and there's nothing in between.
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Re: Custom Programming Language

Post by mathematician »

no92 wrote:
mathematician wrote:I know, but I hate Unix, and all its works; even when it comes in the form of Cygwin.
You probably know that the vast majority of tools actually used for OSdeving purposes run only on Unices natively. Microsoft should be ashamed that they don't have a proper compiler that is capable of producing any other formats than PE.
I still don't like Unix. Microsoft's latest compiler will produce code for Android.
The continuous image of a connected set is connected.
no92
Member
Member
Posts: 307
Joined: Wed Oct 30, 2013 1:57 pm
Libera.chat IRC: no92
Location: Germany
Contact:

Re: Custom Programming Language

Post by no92 »

I could help you, if you tell the reasons for which you don't like Unix software. Just saying that you hate something for no obvious reason just makes you look like a stupid noob.
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Re: Custom Programming Language

Post by mathematician »

no92 wrote:I could help you, if you tell the reasons for which you don't like Unix software. Just saying that you hate something for no obvious reason just makes you look like a stupid noob.
I only know that it always has me tearing my hair out. I don't bother to document particular instances, or to remember them.

At the moment I have a version of Linux sitting on a few spare gigabytes, but the loader decided to go absent without leave. My first reaction was, "Oh well, what do you expect? This is Unix after all."
The continuous image of a connected set is connected.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Custom Programming Language

Post by Combuster »

mathematician wrote:At the moment I have a version of Linux sitting on a few spare gigabytes, but the loader decided to go absent without leave. My first reaction was, "Oh well, what do you expect? This is Unix after all."
Are you sure it isn't "You updated windows and it kicked everything else off your computer. What did you expect?" :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: Custom Programming Language

Post by Schol-R-LEA »

Can we please limit the bashing of existing systems to 'every OS sucks' and focus on the language in question, please? 'Cos I frankly don't have enough time in the day to delineate how crappy all the existing operating systems are. There isn't a one which is even remotely any good, and that's a fact we simply have to live with for now.
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
seuti
Member
Member
Posts: 74
Joined: Tue Aug 19, 2014 1:20 pm

Re: Custom Programming Language

Post by seuti »

[quote="mathematician"At the moment I have a version of Linux sitting on a few spare gigabytes, but the loader decided to go absent without leave.[/quote]

Boot into a livecd and rerun grub-install (and possibly grub-mkconfig).
User avatar
iansjack
Member
Member
Posts: 4685
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Custom Programming Language

Post by iansjack »

I'd say that you are looking at the wrong end of the problem. It's not the language definition or the compiler that determines the object file format, but the assembler and binutils. I'd say that you need to start there, writing an assembler that can output elf64 object files and then a linker that can handle them, before worrying about the compiler end of thIngs.

TBH, I would have serious doubts that someone who dismsses out of hand a very successfull range of operating systems, and is unable to get a simple Linux installation to work, would be capable of producing such software. I suspect that you will get bogged down with this and never get as far as writing your OS.

Why not take the pragmatic approach and use Windows format object files or else bite the bullet and make the effort to learn Unix? Millions of people manage that; it's really not as difficult as it might seem.
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Re: Custom Programming Language

Post by mathematician »

iansjack wrote:I'd say that you are looking at the wrong end of the problem. It's not the language definition or the compiler that determines the object file format, but the assembler and binutils. I'd say that you need to start there, writing an assembler that can output elf64 object files and then a linker that can handle them, before worrying about the compiler end of thIngs.

TBH, I would have serious doubts that someone who dismsses out of hand a very successfull range of operating systems, and is unable to get a simple Linux installation to work, would be capable of producing such software. I suspect that you will get bogged down with this and never get as far as writing your OS.

Why not take the pragmatic approach and use Windows format object files or else bite the bullet and make the effort to learn Unix? Millions of people manage that; it's really not as difficult as it might seem.
http://web.mit.edu/~simsong/www/ugh.pdf
The continuous image of a connected set is connected.
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

Re: Custom Programming Language

Post by Kazinsal »

If you seriously just posted a humorous work as an argument to support your "unix is had because I can't use it and I hate it" stance, I don't know what to think about the world anymore.
User avatar
iansjack
Member
Member
Posts: 4685
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Custom Programming Language

Post by iansjack »

You need someone else (from 20 years ago) to tell us why you hate Unix?

I note that the forward is by an "Apple Fellow, Apple Computer Inc.". Who says irony is dead?
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Re: Custom Programming Language

Post by mathematician »

Kazinsal wrote:If you seriously just posted a humorous work as an argument to support your "unix is had because I can't use it and I hate it" stance, I don't know what to think about the world anymore.
Humorous if might be, but it is humour born of hard experience.
The continuous image of a connected set is connected.
Locked