CPU Compilation (Alpha, MIPS, PPC)?

Hi Experts,
I'm really helpless. Is there a way of compiling a program for a different CPU than I386? I mean, everything you make in Delphi is I386 but what if you want the same product of Alpha or something? Please, tell me. This is serious.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The Delphi compiler only generates Intel PE executables. This means that Delphi applications will only run on Windows / Intel machines. Even if you have Windows NT running on PPC, a Delphi application will not run on that machine.

In that case, you'll need to write your application in a language that has a compiler that can generate executables for other machines, but even that will require you to compile the file inthe other machine (there are no compilers that allow you to compile a program for different CPU platforms. The only exception is Visual Studio, which generates code for WinCE machines).

Even when Delphi for Linux is released, it's possible that the linux compiler will only generate x86 excutables (a.out format).

If you're looking for multi-platform development, I suggest you use the good'n'old Pascal, for there are plenty of compilers for other platforms, or C (ANSI C), for the same reasons.

Unfortunatly (and I also would like it to be different) if you are using Delphi, you are limited to Wintel platforms.




Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Delphi applications can run on Alpha system when using FX!32. Alpha systems with FX!32 and NT can convert Intel code at runtime and get more and optimsed after each run.
It's really incredible how FX!32 works. The first time you run some app it works slow. The second time it works much faster.
jakubklosAuthor Commented:
Thanks guys for both of your answers.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.