Dan Kegel
2008-Jul-20 15:58 UTC
[Wine] Winelib: How can I compile a Borland C++ Builder application
mikolajz wrote:> Winelib allows you to compile a Win32 application > to an ELF binary that can be run directly on Linux > (provided the winelib is installed).Not so. The ELF binary must be run via wine-preloader. In other words, it's really no more convenient than using wine on a win32 binary. - Dan
vitamin
2008-Jul-20 18:27 UTC
[Wine] Re: Winelib: How can I compile a Borland C++ Builder application
N?stor Amigo Cairo wrote:> There's no problem if I need winelib to link the application, the > important thing is to be able to share the same sources between > platforms, not having to rewrite the API related stuff, but to be able > to debug the application and so on using native tools (not having to > compile under Win32, then trying on Linux + wine).If that's your goal - you can't use Wine or winelib: 1. You won't get native application 2. You will have to use wine's own debuggin tools (which are still buggy) 3. You can't use Borland specific extensions or anything that's not supported by gcc (most notably exception handling) 4. You will have to recompile VCL with gcc (which won't work) You have to rewrite your application to something cross-platform. Look at many applications that are available for Linux/Mac/Windows. For example pidgin. If you want to get your program running now on Linux - just use windows binary and fix Wine if you have any problems.
Maybe Matching Threads
- Re: Winelib: How can I compile a Borland C++ Builder application
- Re: Winelib: How can I compile a Borland C++ Builder application
- Re: Winelib: How can I compile a Borland C++ Builder application
- Winelib: How can I compile a Borland C++ Builder application on Linux using winelib?
- WineLib Warning?