 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
pcwai Guest
|
Posted: Thu Jul 10, 2003 4:37 pm Post subject: Possible to have compile GUI in Unix? |
|
|
Hi, I am creating a GUI using borland c++, but my target running platform is
Unix. Apart from using clx components, what else do I have to do (esp to the
Makefile) in order to have my project running in Unix? The compiler I use in
Unix is g++.
I really new to borland C++, and if really can't do this in Unix then I may
have to switch to using Java...Pls help!!!
|
|
| Back to top |
|
 |
Michel Leunen Guest
|
Posted: Thu Jul 10, 2003 8:31 pm Post subject: Re: Possible to have compile GUI in Unix? |
|
|
pcwai wrote:
| Quote: | Hi, I am creating a GUI using borland c++, but my target running platform is
Unix. Apart from using clx components, what else do I have to do (esp to the
Makefile) in order to have my project running in Unix? The compiler I use in
Unix is g++.
I really new to borland C++, and if really can't do this in Unix then I may
have to switch to using Java...Pls help!!!
|
You can't compile C++Builder CLX project with g++. You can only compile
CLX project on C++Builder or Kylix which is the Borland compiler for
Linux. I don't know if Kylix can run on a pure Unix system, though.
Michel
--
----------------------------------------
Michel Leunen
mailto:michel (AT) leunen (DOT) com
http://www.leunen.com/cbuilder/
----------------------------------------
|
|
| Back to top |
|
 |
robertbienert Guest
|
Posted: Fri Jul 11, 2003 5:07 pm Post subject: Re: Possible to have compile GUI in Unix? |
|
|
pcwai schrieb:
| Quote: | Hi, I am creating a GUI using borland c++, but my target running platform is
Unix. Apart from using clx components, what else do I have to do (esp to the
Makefile) in order to have my project running in Unix? The compiler I use in
Unix is g++.
|
What GUI do you use? The CLX is something Borland specific. Other GUI
components, such as V or wxWindows are also platform independent.
The makefiles for Borlands make could be incompatible to the unix make,
so it's better that you try using them with dmake for Windows. If they
run with dmake, then they'll run under unix. But don't forget to change
the windows/Borland specific things, such as the $(CC) or $(LD) variables.
| Quote: | I really new to borland C++, and if really can't do this in Unix then I may
have to switch to using Java...Pls help!!!
|
Borland C++ is not so different from other C compilers.
HTH,
--
Robert Bienert <robertbienert
[simply replace the <AT> with an @ and everything is alright, also I'm
no Austrian ]
Check also my free software at http://www.rbprogs.de.vu/
|
|
| Back to top |
|
 |
Chuck Jackson Guest
|
Posted: Sun Nov 16, 2003 7:41 pm Post subject: Re: Possible to have compile GUI in Unix? |
|
|
Sorry for being away for so long...
New processors (I don't mean faster Pentiums or Athlons) are being
introduced so frequently (TI and Analog Devices come to mind), I suspect
the compiler ports justs can't keep up - I KNOW the OS ports can't,
since may of them have NO OS available! May partly be a matter of
demand, as well - if they only sell 20,000 of them, who will bother to port?
Dejan Lekic wrote:
| Quote: | Chuck Jackson wrote:
ALL platforms ? Are you sure? I suspect there are FAR more
platforms out there
than you might believe.
You also might not believe for which platforms GCC exist! ;)
Dejan Lekic wrote:
pcwai wrote:
Hi, I am creating a GUI using borland c++, but my target running
platform is
Unix. Apart from using clx components, what else do I have to do
(esp to the
Makefile) in order to have my project running in Unix? The compiler
I use in
Unix is g++.
I really new to borland C++, and if really can't do this in Unix
then I may
have to switch to using Java...Pls help!!!
If you are C/C++ developer than you should know that there are
numerous compilers for different platforms...
If you need cross-platform application, than you must have support
for some compilers on target platforms.
However there is one, single C/C++ compiler that works on ALL
platforms - GNU C Compiler
(from GNU Compiler Collection). Sure, you would also need
cross-platform GUI toolkit. I would strongly
recommend excellent FLTK ([url]http://www.fltk.org)[/url], or eFLTK
(http://ede.sf.net) . The second one has much more
features than previous one - that is the only difference.
Best regards
Dejan
Hehe Chuck,
if there is some "weird" platform that still doesn't have widely used
compiler - most likely GCC will be there soon! ;)
BR
Dejan
|
|
|
| Back to top |
|
 |
Thomas Maeder [TeamB] Guest
|
Posted: Sun Nov 16, 2003 8:16 pm Post subject: Re: Possible to have compile GUI in Unix? |
|
|
Please direct your browser at http://info.borland.com/newsgroups/ and read the
newsgroup guidelines. One of them asks us not to quote entire posts we are
following up to; instead, please trim the quotes to the parts relevant for
your reply. Thanks!
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|