Summary

library directory used in csc not always correct on 64-bit systems

Metadata

Description

Adam Young pointed out an error in `csc`:

 *** csc.scm.orig	2010-03-31 19:55:22.831032315 -0400
 --- csc.scm	2010-03-31 19:56:47.520908976 -0400
 ***************
 *** 253,259 ****
   (define linking-optimization-options default-linking-optimization-options)
   
   (define library-dir
 !   (prefix "" "lib"
            (if host-mode
                INSTALL_LIB_HOME
                TARGET_LIB_HOME)) )
 --- 253,259 ----
   (define linking-optimization-options default-linking-optimization-options)
   
   (define library-dir
 !   (prefix "" "lib64"
            (if host-mode
                INSTALL_LIB_HOME
                TARGET_LIB_HOME)) )

It has to be checked, whether this is needed for all linux (or other UNIXoid) systems.

Changes and comments

[2010-04-10 23:34:09 UTC] felix wrote:

(of course only for 64-bit systems)

[2010-04-11 00:32:46 UTC] zbigniew wrote:

On my ubuntu install /usr/lib64 is a symlink to /usr/lib so it is not needed. I guess it would not hurt there, BUT looking at installed packages, they all install into "/usr/lib".

And when you build using ./configure, it always installs into /usr/lib.

Does Fedora really need to manually specify /usr/lib64? That seems stupid. What does /usr/lib point to on a 64-bit Fedora 12 system?

[2010-04-11 00:42:17 UTC] sjamaan wrote:

For NetBSD (and I *think* other BSDs as well), there is no such thing as "lib64". Everything is compiled for the target architecture, there's no 32-bit stuff at all. I don't remember seeing it on 64-bit Solaris for SPARC either. I think it's purely a Linuxism...

[2010-08-24 12:09:35 UTC] felix changed milestone from 4.6.0 to 4.7.0

[2011-02-05 15:32:46 UTC] sjamaan removed milestone 4.7.0

[2011-02-05 15:32:46 UTC] sjamaan wrote:

This should probably be marked invalid, unless the original poster comes with more info.

[2011-06-18 19:46:57 UTC] felix changed status from new to assigned

[2011-06-18 19:46:57 UTC] felix set owner to felix

[2011-06-18 19:46:57 UTC] felix wrote:

It should be sufficient to override LIBDIR at build-time. I will document this in the README.

[2011-07-09 13:49:59 UTC] felix changed status from assigned to closed

[2011-07-09 13:49:59 UTC] felix set resolution to worksforme