Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#144642 - 20/02/2003 08:05 Help with Linux development issues please
Dylan
addict

Registered: 23/09/2000
Posts: 498
Loc: Virginia, USA
Almost all of my experience is in Windows development but I need to port an application to Linux. The problem I'm having is how do I make binaries that will work across all the different distributions?

In particular, it seems to be glibc that is causing me problems. Everything else I need I can link against statically. But if I build my app on, say, Redhat 7.1 I can't run it on 6.2 because it requires glibc 2.2. It doesn't seem to matter whether I link glibc statically or dynamically.

And then what happens if I build on Redhat and my customer is running Debian? I haven't yet tried this but I recall reading somewhere that those distributions aren't binary compatible.

This probem has to have been solved. How do commercial vendors release software in binary form? Am I going to have to maintain build and test environments for every possible flavor of Linux? Please say it ain't so!

-Dylan

Top
#144643 - 20/02/2003 08:52 Re: Help with Linux development issues please [Re: Dylan]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Almost all the apps I've got on my linux box that didn't come as part of the distro came as source, in fact the only time I've ever had problems was when I was given software in binary form. I'm assuming this software you're porting is closed source?
_________________________
Cheers,

Andy M

Top
#144644 - 20/02/2003 09:02 Re: Help with Linux development issues please [Re: Dylan]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Are you sure that you linked it statically? Run ``ldd progname'' to make sure.
_________________________
Bitt Faulk

Top