Re: [Linux-ia64] Intel's fortan compiler

From: Hideki Yamamoto <hideki_at_hpc.bs1.fc.nec.co.jp>
Date: 2003-03-11 00:50:40
 Hi,

[hideki@valse tmp]$ cat nuslist
your_function
[hideki@valse tmp]$ cat a.f
          program main
          call your_function
          end

[hideki@valse tmp]$ efc -c a.f -nus,nuslist
   program MAIN

4 Lines Compiled
[hideki@valse tmp]$ nm a.o
0000000000000000 t .l_main
0000000000000000 d EPC$RZERO$0
0000000000000000 ? __fte_main
0000000000000000 ? __udt_main
                 U f90_init
                 U f_stop
0000000000000000 T main
                 U your_function
[hideki@valse tmp]$ 
 
 Right?

End of my email
--
Yours faithfully,
Hideki Yamamoto   (V).v.(V) # Empowered by Innovation

At Mon, 10 Mar 2003 21:28:02 +0800,
dai yiyang wrote:
> 
> 
> Hi all: 
> 
>     Is there anybody know how to use the -nus option of Intel's fortan 
> compiler on IA64 ?? 
> 
>     basicly , fortan compiler will add a underscore to any unsolved symbol 
> in the source ,that means if the call is "system" , then the exported 
> symbol will be "system_"
> 
> the "-nus" is to get rid of the underscore of the exported symbol so that 
> it can be linked with C lib ,,,, 
> 
>     My problem is : I just want to get rid of the underscore for selected 
> symbol , Intel's compiler manual said I can do that with the option 
> "-nus[file]"  , but it dont work .
> 
>     Anyone can help me ?? 
> 
> Regards, 
> Yiyang 
>  
> 
> 
> 
> 
> 
> _________________________________________________________________
> 与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  
> 
> 
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64
> 
Received on Mon Mar 10 05:50:55 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:12 EST