This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Re: AIX to Solaris Cross Compiler


Thanks for the info.  I got libgcc1.a built on AIX and copied that to my
linux machine and life was good once again UNTIL I discovered that NFS
doesn't work very well with symbolic links and the header files I *thought*
I was using from my AIX host turned out to really be the Linux headers!!!!!
I'm in the process of making tarballs of my /usr/include and /usr/lib
directories on AIX and manually putting them on my Linux host rather than
try to let Linux read them as needed via NFS.

So, I'll push the car back up the hill and see if it will come down without
assistance this time!!!!

Thanks  for everyone's help with this problem.

Peace......

Tom




Alex Smith <alex_s@earthlink.net> on 08/06/99 07:12:59 AM

Please respond to crossgcc@cygnus.com

To:   crossgcc@cygnus.com
cc:    (bcc: Tom Williams/HQ/dssi)
Subject:  Re: AIX to Solaris Cross Compiler




I am very familiar with your problem.  There are two things you can do.
First:
With gcc2.8.1 and lower you must compile binutils on your target machine
then
compile gcc to a point on you target machine. Here are the steps
Assumptions:
OBJECTDIR = location where you ran configure (preferably not in source
tree)
YOURTARGET = platform you want to generate executable for
YOURHOST = platform you want to compile on
On YOURTARGET:
Build binutils, at a minimum copy all executable to OBJECTDIR on target
configure gcc with:
$PATHTOGCCSRC/configure --host=$YOURHOST --target=$YOURTARGET --with-gnu-ld
--with-gnu-as
make libgcc1.a #Now save libgcc1.a.  This is how you get this file.
make distclean
$PATHTOGCCSRC/configure
make enquire
enquire -f > float.h     # you might need this
enquire -l > limits.h    # and this
On YOURHOST:
Build bintuils:
PATHTOBINUTILS/configure  --host=$YOURHOST --target=$YOURTARGET
make
Make install
Build GCC:
copy libgcc1.a float.h limits.h to OBJECTDIR.
for 2.8.1
$PATHTOGCCSRC/configure --host=YOURHOST --target=YOURTARGET --with-gnu-ld
--with-gnu-as
make
make install
Duplicate to build libstdc++-2.8.1.1
for gcc2.95
PATHTOGCCSRC/configure --host=YOURHOST --target=YOURTARGET --with-gnu-ld
--with-gnu-as
make
make install
These are the steps that I followed to make cross compliers from Solaris 7
x86
to NCR,Sequent, Solaris-Sparc, and AIX.
Have fun.

On Thu, 05 Aug 1999, you wrote:
> How did you get around the libgcc1.a problem I'm having with my AIX ->
> Solaris cross compiler?
>
> Peace.........
>
> Tom
>
>
>
>
> Alex Smith <alex_s@earthlink.net> on 08/05/99 10:54:00 AM
>
> Please respond to crossgcc@cygnus.com
>
> To:   crossgcc@cygnus.com
> cc:    (bcc: Tom Williams/HQ/dssi)
> Subject:  AIX to Solaris Cross Compiler
>
>
>
>
> I have been trying to build a cross compiler to AIX 4.2.1 from Solaris 7
> x86.  I have gotten the same result with gcc 2.8.1 and gcc 2.95.  I can
> build the compiler and libraries without any trouble.  (Thus raising my
> hopes)  However, when I try to use my compiler to cross compile a test
> program it cannot resolve several simple symbols that are found in
libc.a.
> I have successfully made cross compilers from Solaris x86 to NCR, sequent
> and Solaris sparc, so I am pretty confident that I covered my bases as
far
> as making sure that my AIX libraries are in the right spot with the right
> permissions.  The only thing I can think of is that I either need to grab
> the libraries from a location other than /lib, or I am missing some weird
> AIX file (though I have never know IBM or AIX to do anything like that
> before :~) that ties every thing together.
> History:
> I got identical results when I tried to create a cross compiler to AIX
> 3.2.5
> with gcc2.8.1.
> The results are:
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/crt0.o(.tc+0x0): : undefined
> reference
> to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/crt0.o(.pr+0x42): : undefined
> reference to `errno'
>
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95/power/libstdc++.a(stream
> b
> uf.o): In function `streambuf::sys_stat(void *)':
> streambuf.cc:282: undefined reference to `errno'
>
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95/power/libstdc++.a(floatc
> o
> nv.o)(.pr+0x159e):floatconv.c: undefined reference to `errno'
>
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95/power/libstdc++.a(floatc
> o
> nv.o)(.pr+0x1742):floatconv.c: undefined reference to `errno'
>
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95/power/libstdc++.a(fileop
> s
> .o)(.pr+0x2c6):fileops.c: more undefined references to `errno' follow
> ///usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): :
undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `environ'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `_exit'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `open'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `disclaim'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `sbrk'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `brk'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `close'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `sigprocmask'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `sigaction'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `getuidx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `nsleep'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `fstatx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `statx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `mntctl'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `fstatfs'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `statfs'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `lseek'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `privcheck'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `access'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `getpid'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `kfcntl'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `kfork'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `kgetpgrp'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `kioctl'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `pipe'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `incinterval'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `gettimerid'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `kwaitpid'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `getgidx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `execve'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `kwritev'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `kill'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `sysconfig'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `kreadv'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `loadquery'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `creat'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `profil'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `__unload'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `__loadx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `_load'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `klseek'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `_fp_fpscrx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.tc+0x0): : undefined
> reference to `_fp_trapstate_ker'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0xea): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x11a): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2): : undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x26): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x56): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0xc6): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x176): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x256): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x32a): : more
> undefined references to `errno' follow
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x26): :
undefined
> reference to `environ'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x36): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x6): : undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x6): : undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0xc6): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x6a): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2): : undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x1be): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x202): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x232): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x18e): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x14fe): :
> undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x226): : more
> undefined references to `errno' follow
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2): : undefined
> reference to `environ'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2e): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0xe2): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x1e6): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x24e): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x30a): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0xea): : more
> undefined references to `errno' follow
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2): : undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x22): :
undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x6a): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x156): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2): : undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2): : undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x8e): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2ea): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x3e6): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x556): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x6ca): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x76a): : more
> undefined references to `errno' follow
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2): : undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2): : undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0xee): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x10e): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x7e): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0xc2): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x1aa): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x86): :
undefined
> reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x5e): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2fa): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x62): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.pr+0x2ca): :
undefined
> reference to `errno'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `_exit'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `open'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `disclaim'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `sbrk'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `brk'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `close'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `sigprocmask'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `sigaction'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `getuidx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `nsleep'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `fstatx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `statx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `mntctl'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `fstatfs'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `statfs'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `lseek'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `privcheck'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `access'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `getpid'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `kfcntl'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `kfork'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `kgetpgrp'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `kioctl'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `pipe'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `incinterval'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `gettimerid'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `kwaitpid'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `getgidx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `execve'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `kwritev'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `kill'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `sysconfig'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `kreadv'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `loadquery'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `creat'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `profil'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `__unload'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `__loadx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `_load'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `klseek'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `_fp_fpscrx'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(shr.o)(.gl+0x2): : undefined
> reference to `_fp_trapstate_ker'
>
/usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(moveeq.o)(.pr+0x22):moveeq.s:
> undefined reference to `_system_configuration'
>
/usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(strncpy.o)(.pr+0x2):strncpy.s:
> undefined reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(strcpy.o)(.pr+0x2):strcpy.s:
> undefined reference to `_system_configuration'
> /usr/local/powerpc-ibm-aix4.2.1.0/lib/libc.a(strcat.o)(.pr+0x2):strcat.s:
> undefined reference to `_system_configuration'
> As you can see most of the symbols in libc.a can't be resolved.    I have
> even gone to the extreme of copying the entire contents of my AIX
machines
> /lib.  What am I missing?
> I am using binutils 2.9.1.  I get the same errors whether I am using
> gcc2.8.1 targeted for AIX 3.2.5 or gcc 2.95 targeted for AIX 4.2.1.
> On a side note, gcc 2.95 is much easier to configure as a cross compiler
> than gcc 2.8.1.  Good job to those that worked on EGCS.
> --
> Alex Smith
> ESM Software Engineer
> Modules Team
> Axent Technologies, Inc.
> (801) 227-3711
> alesmi@axent.com
> _______________________________________________
> New CrossGCC FAQ: http://www.objsw.com/CrossGCC
> _______________________________________________
> To remove yourself from the crossgcc list, send
> mail to crossgcc-request@cygnus.com with the
> text 'unsubscribe' (without the quotes) in the
> body of the message.
>
>
>
>
>
>
> _______________________________________________
> New CrossGCC FAQ: http://www.objsw.com/CrossGCC
> _______________________________________________
> To remove yourself from the crossgcc list, send
> mail to crossgcc-request@cygnus.com with the
> text 'unsubscribe' (without the quotes) in the
> body of the message.
--
Alex Smith
ESM Software Engineer
Modules Team
Axent Technologies, Inc.
(801) 227-3711
alesmi@axent.com
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.






_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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