Re: Can gcc and xlC coexist?
- From: Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxx>
- Date: Mon, 07 Jan 2008 20:25:28 -0800
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.
.
- Follow-Ups:
- Re: Can gcc and xlC coexist?
- From: Sync
- Re: Can gcc and xlC coexist?
- References:
- Can gcc and xlC coexist?
- From: Sync
- Can gcc and xlC coexist?
- Prev by Date: Re: Can/How to check (AIX) OS compatibility for an executable
- Next by Date: Re: Question about shared disks and SCSI reservations
- Previous by thread: Re: Can gcc and xlC coexist?
- Next by thread: Re: Can gcc and xlC coexist?
- Index(es):
Relevant Pages
|