[ydl-gen] using ./configure to generate 64 bit share
libraries(ydl4.0.91) SOLVED
Sanders, Rob M.
sanders-rob at zai.com
Thu Apr 27 19:18:47 MDT 2006
Hey folks,
Finally got it (again). I was poking around the docs on ld and stumbled
across the -m option and the lightning bolt hit (again). The incantation
to ./configure needs to be './configure CC='cc -m64' LD='ld -melfppc64'
and everything works out just fine.
One of these days I'll get around to writing a personal blog/notebook with
these bits of trivia......
Rob
-----Original Message-----
From: yellowdog-general-bounces at lists.terrasoftsolutions.com on behalf of Sanders, Rob M.
Sent: Wed 4/26/2006 8:43 AM
To: Discussion List for General Yellow Dog Linux User Topics
Subject: [ydl-gen] using ./configure to generate 64 bit share libraries(ydl4.0.91)
Greetings everyone,
I've been trying to re-create something I did almost 8 months ago and
am about ready to pull my hair out. I lost the directory that had how I
did it due to a corrupt
tarball backup during a repartition...
I am trying to build the tecla libraries
(http://www.astro.caltech.edu/~mcs/tecla/index.html)
as a 64 bit shared library under YDL 4.0.91. It uses the gnu configure
utilities to build the makefiles and such. Last fall I had figured out
how to issue the ./configure command so that
it would build a 64 bit shared library instead of a 32 bit library, but
I haven't been able to remember how I did this. I'm using the 1.6.0
version of libtecla.
The gcc compiler shipped with 4.0.91 is a bi-arch capable compiler
(can build 32 or 64 bit
code [ -m32 or -m64]), but the ./configure command is *only* generating
linking code references 32 bit libraries, even though it will build the
object code as 64 bit. I've tries using CC='cc -m64', CC='cc'
CFLAGS='-m64', as well as LD='cc -m64'.
Has anyone else fought the battle with ./configure to have it generate
64 bit libraries?
Any suggestions would be *muchly* appreciated.....
Thanks...
Rob
_______________________________________________
yellowdog-general mailing list
yellowdog-general at lists.terrasoftsolutions.com
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4105 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/attachments/20060427/27445ba7/attachment.bin
More information about the yellowdog-general
mailing list