Re: I've had it with Windows--I'm switching to Linux



J.O. Aho wrote:

Stephan Rose wrote:
J.O. Aho wrote:

You don't use the same binary, due dependencies, but you will have the
same programs to 99% on each distro, those that you don't have in one
distro you can always compile from source.

That raises a question from me actually.

An app I am developing right now, and essentially every app I will be
developing in the future, is cross-platform to run on Windows, Linux, and
Mac.

While I know I need to create binaries for each target platform, I am
fine with that, I'd rather not deal with creating binaries for all the
various distributions.

Then making a static version or provide all required libraries (see Cedega
for an example).

That's what I was thinking, just wanted to make sure that worked as I expect
it to in the linux world. Thanks =)


Keep in mind, if you say "support Linux", then you have the big/little
endian to think about too, quite many architectures uses big endian, but I
guess you only mean Linux x86 and with Mac only "Mactels".

Hmm good point there.

To be honest, my primary targets are Linux and Windows. Mac is sort of a
bonus that I am not all *that* worried about...at least not at this point
in time. I probably won't even really support Mac until someone actually
makes a request for it or asks for it.



Distributing the code is in my case not an option. I do need to make my
living somehow. =)

Your application may not become that popular among Linux and Mac users, if
it's not really special.

Well I don't generally write applications for the mass-market. I specialize
in either customer-specific applications or high-end commercial apps. So
usually I don't worry about winning popularity contests with the average
user. =)

I actually already have multiple requests for it from people sick and tired
of the existing products (disregarding OS) and the app is still deep in
development!



- wxWidgets which is static linked so no shared libs needed. It however
depends on GTK2.0 for the UI.

There are quite many options, what if you use a gnome2 depending function?
Not all has that built in their wxwidgets, some may only have gtk+, but
not gtk2, with or without opengl support and so on.

Right now I have it configured for GTK2 so it shouldn't use anything that
depends on gnome2. If it does, I'd consider that a bug within wxWidgets. I
don't think it does though.



So with these dependancies, am I in a position of having to generate
seperate binaries for any other distros or should one binary essentially
work across the board given that GTK2.0 and OpenGL is present?

A system may have opengl support, it don't have to mean that the wxwidget
has opengl support, if you really want it to work static would be the
easiest.

Well I static link wxWidgets for just *that* reason! There are faaaaar too
many ways to configure wxWidgets for me to ever want to link it
dynamically. That would be a support nightmare.

Thanks very much, appreciate the response.

--
Stephan
2003 Yamaha R6

君のこと思い出す日なんてないのは
君のこと忘れたときがないから
.



Relevant Pages

  • Re: ANN: wxForms - 1.0.6 - wxWidgets Form Designer for C++ Builder
    ... I think people want to stay in Delphi IDE, use Pascal and WxWidgets and cross compile for Mac and Linux. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Big Mac Hoax 2: "OS X is Unix"
    ... *certainly* wouldn't consider replacing my Linux box with a Mac. ... Sure, it is different, but there is value in *not* having Foo, FOO, ... Manually editing config files becomes a chore rather than a preferred ...
    (comp.sys.mac.advocacy)
  • Re: advice for a mac laptop, please
    ... generally speaking the Mac just works out of the box. ... i need Linux for my Phd. ... Mac way of doing what you did on a Windows PC. ... operating systems, you may need a generous amount of disk space, ...
    (comp.sys.mac.misc)
  • Re: 10.4.10: system components to safely delete?
    ... Mac first, Mac only: ... Are you worried about disk space or RAM? ... Still, the functionality of the OS was amazing, as everything responded so quickly, and it was all about stability and functionality. ... Whenever I'd ask about the relative merits of running Linux on a Mac, everyone would respond to me that I really shouldn't go there unless I enjoy programming. ...
    (comp.sys.mac.system)
  • Re: OT - I ran....
    ... the `Linux community' decided that because it included ... (Mandriva Free is a 'pure' distro which can easily have non-FOSS stuff ... have such things as "MP3" support and proprietary hardware support built ... I consider Mac OS X to be an excellent example of what a good Unix-type ...
    (uk.people.support.depression)