Recent

Author Topic: Best Way to compile same Software in Win32 and Linux  (Read 6029 times)

Fred556

  • New Member
  • *
  • Posts: 26
    • Copy Protection Software
Best Way to compile same Software in Win32 and Linux
« on: October 28, 2004, 03:46:19 pm »
Hello,

i have written some software in windows with Delphi 3 and 5.
I like to compile the programs in Linux too.

I written it in Windows and if i finiseh to relese a new version than i want create a linux version.

Who have a idea that i can make this with no compile problems?

Thankss....ss...
Programmer Software and other copy protection tools.

Adam.Pilorz

  • Jr. Member
  • **
  • Posts: 67
    • http://www.pilotmp3.devtown.net
Best Way to compile same Software in Win32 and Linux
« Reply #1 on: October 28, 2004, 04:47:54 pm »
Hmm... The question is complicated, but answer is easy: Lazarus. If you however have problems with it, you can try Borland's Kylix (I advice Kylix 3 Personal, if you don't need a profesional license).

Fred556

  • New Member
  • *
  • Posts: 26
    • Copy Protection Software
Best Way to compile same Software in Win32 and Linux
« Reply #2 on: October 28, 2004, 04:53:55 pm »
Hello,

i need a prof. version on Kylix. Bud Kylix3 OpenEdition do not run and do not start.

GLIb_2 do not definde in file....
Programmer Software and other copy protection tools.

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Best Way to compile same Software in Win32 and Linux
« Reply #3 on: October 28, 2004, 08:51:18 pm »
Kylix is known to have problems running on some Linux distributions because of it's dependencies to QT and some Wine libs, i tested it on RedHat9 with kernel 2.4.

Maybe you'll feel more comfortable with Lazarus because it's a true opensource crossplatform ide with native win, linux, mac interface and uses the FreePascal compiler wich is true Object Pascal compiler and supports most Delphi syntax and has some other enhancements like macros and C operators.

I didn't try running with wine, but you might get Delphi to run on Linux using wine or at least your win apps made with Delphi, you might also try winex4-cedega wich has DirectX support if you need it.
Please tell me if this works for you.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Adam.Pilorz

  • Jr. Member
  • **
  • Posts: 67
    • http://www.pilotmp3.devtown.net
Best Way to compile same Software in Win32 and Linux
« Reply #4 on: October 28, 2004, 09:06:32 pm »
Well, when you need a profesional licence, mean you want to create commercial applications, I realy suggest to try Lazarus. In the first place, it works on many platforms and in addition to this it is completly free.

Anonymous

  • Guest
Best Way to compile same Software in Win32 and Linux
« Reply #5 on: October 29, 2004, 07:47:15 pm »
Hey Lightning,

i can start Lazarus Win32-Version with wine20041019 at www.winehq.com.
I have test it in KDE 3.2.1

Can I compile linuxapps in Win-IDE too?

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Best Way to compile same Software in Win32 and Linux
« Reply #6 on: October 29, 2004, 09:00:31 pm »
I suggest getting the Linux version of Lazarus, you should get 3 packages:
- FPC binary
- FPC Source
- Lazarus binary/source
Install using "rpm -ivh mypackage.rpm" from the console for each package.
DO NOT USE THE GUI RPM MANAGER !!! because it doesn't always work as expected.

You could run most windows apps with wine, but i want native support for Linux so Lazarus is for me.
If you don't care about native support then go for wine.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

 

TinyPortal © 2005-2018