* 64 bit application compilation on linux on ppc64 platform
@ 2004-07-02 19:13 smitha shankara
0 siblings, 0 replies; only message in thread
From: smitha shankara @ 2004-07-02 19:13 UTC (permalink / raw)
To: help-gcc
Please reply by mail as my machine is not on USENET.
we are currently porting a multi-pathing
device driver to linux on powerpc64 architecture.
(more specifically redhat enterprise linux 3.0)
Our driver compiles and works fine on
IA-64 , AMD-64 and other 32 bit linux architectures.
We also have a utility that we use with the
driver. The utility shares a data structure with
the driver code and sends ioctls to the driver.
The driver is a 64 Bit MSB executable and works
fine. I need to compile the utility as a 64 bit
executable too. However I cannot get it to
link properly to the right 64 bit glibc library.
I have gcc 3.2.3 on my powerpc system. This is a
bi-arch compiler that ships with the RHEL
distribution.
I was wondering if you had clues as to how I
could get the utility to compile and link as a
64 bit executable. I have tried the -m64 compiler
option and the -m elf64ppc option to the linker.
I get the following errors when I try compiling the
utility.
/usr/bin/ld: skipping incompatible
/usr/lib/gcc-lib/ppc64-redhat-linux/3.2.3/../../../libc.so
when searching for -lc
/usr/bin/ld: skipping incompatible
/usr/lib/gcc-lib/ppc64-redhat-linux/3.2.3/../../../libc.a
when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so
when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a
when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [mppUtil] Error 1
thanks,
smitha
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-02 19:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-02 19:13 64 bit application compilation on linux on ppc64 platform smitha shankara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).