cross compiling

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: cross compiling

Post by Don »

velmarin wrote:My first personal computer was a 8086, after the commodore, I have my years, my friend.

The principles were the principles, do not refuse.
we are in the XXI century, and I am a happy grandfather, but Windows is the most, are past.
Each distro of Linux is an imitation of Windows.
Actually glad to see Komodo play Fritz in Windows.
Using Visual Studio, has nowhere to compare "is a pleasure, if a little gay, but a pleasure," Intel Compiler, hehe.

Linux is a dinosaur.
There is actually a vigorous debate about the user interface for Linux because the real power users don't want to see Linux dumbed down. But there are commercial interests who want to dumb it down in order to attract Windows users over to it. Linux is a power users system and this is not a good fit.

If I want a dumbed down OS I would just go with Windows. That is what I used to recommend for non-technical people who would ask me about buying a computer a few years ago. I never recommended Linux to them as it would be way too much for them to handle. I say this with all seriousness. If you want a machine to play games and browse the web and check your email, Windows is perfectly fine.
Capital punishment would be more effective as a preventive measure if it were administered prior to the crime.
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: cross compiling

Post by lucasart »

jdart wrote:Re #3 (errors with -m32):

sudo apt-get install ia32-libs

--Jon
Yes, Pablo also gave the same solution. It works, thank you guys for that. Once I replace my bsfq by Jim's GCC portable instrinsic, I'll be able to get 32 bit compiles.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
stevenaaus
Posts: 608
Joined: Wed Oct 13, 2010 9:44 am
Location: Australia

Re: cross compiling

Post by stevenaaus »

Linux is a dinosaur
Surely it's you and windows that are dinosaurs :)

Desktop Linux is just spread a little thin I think from lack of leadership (not talking about the kernel). Fedora 18 is a right mess and is partly (?) the reason Linus right-hand man Alan Cox is having a sabbatical from kernel development.. or something.

Re OSX Cross compiling.. My mate is a contributor to mingw and he cross compiles some moderately complicated SDL/ogg/mp3/OpenGL games. I use mingwx with ScidvsPC, and when i get my act together and a test machine, i'll make some win64 binaries.
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: cross compiling

Post by velmarin »

Dude, it was a prank, Komodo and dinosaur, or vice versa.
You insulted, well,
Thank you.

Image
stevenaaus
Posts: 608
Joined: Wed Oct 13, 2010 9:44 am
Location: Australia

Re: cross compiling

Post by stevenaaus »

Ah hahaha :)
abulmo
Posts: 151
Joined: Thu Nov 12, 2009 6:31 pm

Re: cross compiling

Post by abulmo »

lucasart wrote:I've done a lot of googling around, and found a lot of forum bla bla, but no clear answers. So perhaps people here have more experience in the matter:
1/ How does one go about producing an ARM executable with linux+gcc ? (in the same fashion as mingw dows for windows)
2/ What about MacOSX ?
3/ What about 32-bit compiles ? Everytime I try the "-m32" compiler switch (g++ 4.7) I get insulted by idiotic error messages that seem to suggeest that some libraries are missing. Does anyone know how to fix this problem under Ubuntu based distros ?
Personnaly I prefer fedora to ubuntu when cross compiling. It comes with all necessary libraries (pthreads, etc.) for mingw 32 and 64 bits, and there is a repository for MacOSX cross compilation.
Richard
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: cross compiling

Post by lucasart »

velmarin wrote:Dev_cpp portable tablets occupies only 30 megas.

I repeat, windows in Windows, the rest, beating around the bush.

99 percent of users use "Windows2 progamas chess.
The majority of chess engine *users* runs Windows. I agree with that. But I certainly disagree with your 99% coming out of thin air. By definition it's hard to measure, but the current concensus is around Windows=85% MacOSX=12% Linux=3%.

However when it comes to engine *developpers* the proportion is very different. I did a poll on that a while ago, and the %age of Linux was not far from Windows (actually MacOSX was last which is not surprising considering how hacker-unfriendly Apple is).

And we're only talking about desktop and laptop users here. We're not talking about mobile devices such as tablets and smartphones, where Windows and their pathetic Windows Phone operating system is the odd one one, by a long way...

But out of these 85% of average computer users who use Windows, how many of them knowingly chose it ? How many of them have actually tried something else, and came back to Windows thinking it's really the best ? People don't choose Windows: they don't have a choice and all computers in department stores are sold with Windows, and you cannot get it reimbursed (just google for Windows tax you'll understand). And most people are absolutely cluless about computers (today's computer users aren't anything like the nerds using computer in the MS-DOS era). So they just get it out of the box, plug it, and use it. They don't eve know what an "operating system" is, they don't even understand the concept itself...
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: cross compiling

Post by velmarin »

Is the concept of smart people do not know what it is, of course not know what it is, man.

I am sure that neither Kasparov, Carlsen not any great teacher or has knowledge of what is an Operating System Kernel level, no, of course.
Neither the people who use a mobile phone, is what is given.

People have cars and do not know what a rod, a valve, a crankshaft, a bearing,
know how to drive.

Chess enthusiasts know what Playchess, Chessbase Fritz, Aquarium, and use it with pleasure.

As I use Visual Studio, a visual delight, with incredible resources to enjoy the code, why not give me that fancy.

But do not get me wrong, I have my Pupys Linux, and my Virtual Box installed with Linux systems.

Sorry, I'm not so smart
  like you and Don,
It is a weakness, enjoy the facilities that the software gives me.
But I have nothing against Linux, just wanted to enjoy a discussion with Don.

You two have something in common. They are masters in programming and a strange hatred of derivatives and such and such.

I do not take this wrong, I say sympathetically.
A greeting.
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: cross compiling

Post by Don »

velmarin wrote:Is the concept of smart people do not know what it is, of course not know what it is, man.

I am sure that neither Kasparov, Carlsen not any great teacher or has knowledge of what is an Operating System Kernel level, no, of course.
Neither the people who use a mobile phone, is what is given.

People have cars and do not know what a rod, a valve, a crankshaft, a bearing,
know how to drive.

Chess enthusiasts know what Playchess, Chessbase Fritz, Aquarium, and use it with pleasure.

As I use Visual Studio, a visual delight, with incredible resources to enjoy the code, why not give me that fancy.

But do not get me wrong, I have my Pupys Linux, and my Virtual Box installed with Linux systems.

Sorry, I'm not so smart
  like you and Don,
It is a weakness, enjoy the facilities that the software gives me.
But I have nothing against Linux, just wanted to enjoy a discussion with Don.

You two have something in common. They are masters in programming and a strange hatred of derivatives and such and such.

I do not take this wrong, I say sympathetically.
A greeting.
My problems is not so much with the OS but with Microsoft. As I mentioned I think the OS is just fine for the average user. I don't mean stupid user, I just mean people who are not computer technical.

The problem with Microsoft is the same as most big corporations - they are basically criminal. Corporations have rights like people (the supreme court basically recognizes them as "people" in the late 1800's) but most would be judged as psychopaths if they were evaluated by psychologists.

In the case of Microsoft their product doesn't harm people physically but their business practices are predatory and mean spirited. Corporations break the law almost constantly, show no remorse, and no real concern for the people they deal with except to the extent they judge it will affect their profits. How crazy it is that I have to buy a copy of Microsoft every time I buy a computer even though I will format the hard disk and install Linux? I can get around this sometimes but I have to work very hard at it. How can that happen? Because they basically have blackmailed the companies that sell computers. They have been legitimately sued for this practice and many others and generally get slapped on the wrist if charged at all.

The funny thing is that if an individual did what corporations do they would be imprisoned. But when people do the same thing hiding behind a corporation it is considered good business and people are accepting of it. Look at big oil, the banking companies, tobacco, and many others. Psychopathic criminal behavior. MS has done some shocking things over their many years of existence in order to claw their way to the top.

Don't get me wrong - I am not anti-capitalist but I'm not stupid either. I see what is going on with them and other corporations. Human greed has no bounds. Look at the banks, taking money from the government then recording record salaries and bonuses for their executives. Look at Enron and what they did to their own people without apology. Psychopaths. No moral person would ever consider that sort of behavior. They are not just some isolated company gone bad, they are just the tip of the iceberg.

Microsoft is by no means the worst of those - but they have hurt many people. Something perhaps not fully appreciated about MS is that in the very fast moving world of computer technology they succeeded in holding back progress for a considerable length of time. MSDOS made very little progress for over a decade which is unheard of in computer technology. They had a money-maker with MSDOS which they managed to be automatically installed on every computer and they actively fought against innovation. That is why I puke whenever someone talks about MS innovation and orginality or "being first."

Enough of my rant - believe me I could write pages and pages on this. Whenever I do rant on this I fully expect to see responses with glowing praise for MS and what wonderful business geniuses they are and that they have a right to make a profit and so on. So I'm not going to respond to any of it. "Right to make a profit" is always the justification for these businesses psychopathic behavior, or "they are just doing what everyone else is doing, they are just doing it better and I admire them for it." Yuck! Maybe we should put 100 psychopaths in a ring and see who wins for our admiration and entertainment.
Capital punishment would be more effective as a preventive measure if it were administered prior to the crime.
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: cross compiling

Post by velmarin »

I will not defend Microsoft.

You also have disgruntled users. Not everyone has the same patience.

As I said twenty years I have spent with computers all, like you.
Now I always buy my computers, by components, joined them myself, I love it.

Sorry, I have nothing against Linux, I like, but I'd rather sit in front of the computer and enjoy.

So yes, I wonder,
Why are always the user linux with the fight?
Why Windows users do not bother to do anything for linux?
Nobody compiled for Linux on Windows.