[csw-users] gcc ISALIST problem

Mark Mayo markmayo at bcgsc.ca
Fri Nov 26 21:52:50 CET 2004


Sorry if I'm missing the obvious, but I'm having a problem with gcc
(3.4.2):

markmayo at pinky:/tmp$ which gcc
/opt/csw/bin/gcc 

markmayo at pinky:/tmp$ grep VERSION /var/sadm/pkg/CSWgcc3rt/pkginfo 
VERSION=3.4.2,REV=2004.10.04

markmayo at pinky:/tmp$ cat test.c 
#include <stdio.h>

int main(void)
{
        printf("test\n");
        return(0);
}

markmayo at pinky:/tmp$ gcc test.c 
markmayo at pinky:/tmp$ ./a.out 
ld.so.1: ./a.out: fatal: ./a.out: /opt/csw/gcc3/lib/$ISALIST
-R/opt/csw/lib/$ISALIST: token ISALIST could not be expanded
test
markmayo at pinky:/tmp$ ldd a.out 
ld.so.1: a.out: fatal: a.out: /opt/csw/gcc3/lib/$ISALIST
-R/opt/csw/lib/$ISALIST: token ISALIST could not be expanded
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,Netra-T12/lib/libc_psr.so.1


markmayo at pinky:/tmp$ isalist
sparcv9+vis2 sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8
sparcv8-fsmuld sparcv7 sparc

markmayo at pinky:/tmp$ echo $PATH
/opt/csw/bin:/opt/csw/gcc3/bin:/usr/local/bin:/usr/bin:/usr/xpg4/bin:/bi
n:/usr/ccs/bin:/usr/sbin:/usr/openwin/bin:/usr/dt/bin

I don't have LD_LIBRARY_PATH defined. Any ideas?

Thx,
-Mark
 
--
Mark Mayo markmayo at bcgsc.ca
Systems Coordinator, BC Genome Sciences Centre
(604) 707-5801




More information about the users mailing list