This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gcc build


On Sun, May 11, 2003 at 01:46:14AM +0000, John Levin wrote:
> 
> 
> Hi,
> I have to create a cross compiler for gcc for AIX . How do i create the
> crosscompiler. I don't have the headers . I will have to buy a machine.
> Somewhere i read kai rutto mentioning gcc can be built in parallel with
> glibc headers . I am not clear about the situation. Can someone tell me
> how to build gcc with glibc headers when i don't have access to the
> remote system.

I have not touched AIX in 2-3 years, so it is possible that the situation is
different now.  In the past, it was theoretically possible to build a cross
compiler to AIX (if you had headers and libraries), but nobody had done it (a
request would come in like yours every 6 months or so).  The gotcha was that
the linker looks for the default shared library in a fixed place, and you would
need to replicate that on the target system.  Also for some of the options (-p,
-mpe, -phtread), a fixed path is passed to the linker.  Generally, since AIX
systems can run the compiler tools and support multiple users, it is easier to
just log on to the machine and do the build there.

-- 
Michael Meissner
email: meissner@the-meissners.org
http://www.the-meissners.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]