[Wien] static linking
Peter Blaha
pblaha at theochem.tuwien.ac.at
Tue Jun 13 12:12:52 CEST 2006
I'm using still a SUSE 9.1 system and:
> ifc -V
Intel(R) Fortran Compiler for 32-bit applications, Version 7.1 Build 20030307Z
Copyright (C) 1985-2003 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY
GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)
Supported emulations:
elf_i386
i386linux
elf_x86_64
/usr/lib/crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
-------------
I'm using the "fix" describe on our web-site with the ifc.cfg changed to
> cat ifc.cfg
/opt/intel/compiler70/ia32/lib/aaa.o -Xlinker -rpath -Xlinker /opt/intel/compiler70/ia32/lib -I/opt/intel/compiler70/ia32/include
/opt/intel/compiler70/ia32/lib> cat aaa.c
/*int errno=0;*/
const unsigned short int __ctype_b = 0;
-----------------
This is the way how I produce the statically linked WIEN2k-executables.
The library libIEPCF90.a is an ifc library, and when it is static linked,
what kind of problem do you have ?
> Dear Peter,
> You told once that the Intel ifc 7.1 still works with static linking, and as I
> remember, it worked on my computers, too.
> I tried static linking using the 7.1.008 Version of the Intel compiler,
> however, I have problems with one of the Intel libraries (libIEPCF90.a) on
> SUSE 9.3 and 10.0.
> Did you recently experience such problems, or are you using a different small
> Version of the compiler.
>
> Ciao
> Gerhard
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
P.Blaha
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-15671 FAX: +43-1-58801-15698
Email: blaha at theochem.tuwien.ac.at WWW: http://info.tuwien.ac.at/theochem/
--------------------------------------------------------------------------
More information about the Wien
mailing list