Re: Can gcc and xlC coexist?



Sync <kdd21@xxxxxxxxxxx> writes:

We've got several applications that compile on a common build system
with xlC. Some of these apps are now destined to be ported to Linux,
and I was thinking that being able to first compile them in their
original OS environment but just using GCC would be a useful
intermediate stage, as when things are done it may be easier to
maintain the source base (at least, the makefiles if nothing else) if
it is compiled under GCC on all the supported platforms.

It is probably fairly easy to check whether the code compiles with
'g++'. However, if you build shared libraries, you will:
- likely have some trouble getting them to be built and to work on
AIX with g++, and
- the effort of doing so will largely be wasted -- Linux uses a
totally different shared library linkage model.

In addition, even if you do get your software completely built and
working with g++ on AIX, you'll likely still have significant effort
when porting to Linux (header files and their locations differ,
shared library linkage models differ, even static linkers differ
significantly).

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.



Relevant Pages

  • Re: Video editing in Linux?
    ... >30ukp, and even then a typical winmodem was 25ukp, so the difference ... of course Linux may deal with this alot ... Most notably the IDE drivers way exceed that of VIA's. ... So i would need to compile them? ...
    (alt.linux)
  • Re: Paying developers to get features faster
    ... existing Open Source, ... This is true even with the Linux Kernel compile. ... >compile is atleast a lot better than a screen full of warning messages. ...
    (comp.os.linux.development.system)
  • Re: Paying developers to get features faster
    ... existing Open Source, ... This is true even with the Linux Kernel compile. ... >compile is atleast a lot better than a screen full of warning messages. ...
    (comp.security.misc)
  • Re: Paying developers to get features faster
    ... existing Open Source, ... This is true even with the Linux Kernel compile. ... >compile is atleast a lot better than a screen full of warning messages. ...
    (comp.os.linux.security)
  • Re: Paying developers to get features faster
    ... existing Open Source, ... This is true even with the Linux Kernel compile. ... >compile is atleast a lot better than a screen full of warning messages. ...
    (comp.os.linux.misc)