* [Linux-ia64] Intel's fortan compiler
@ 2003-03-10 13:28 dai yiyang
2003-03-10 13:50 ` Hideki Yamamoto
0 siblings, 1 reply; 2+ messages in thread
From: dai yiyang @ 2003-03-10 13:28 UTC (permalink / raw)
To: linux-ia64
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Linux-ia64] Intel's fortan compiler
2003-03-10 13:28 [Linux-ia64] Intel's fortan compiler dai yiyang
@ 2003-03-10 13:50 ` Hideki Yamamoto
0 siblings, 0 replies; 2+ messages in thread
From: Hideki Yamamoto @ 2003-03-10 13:50 UTC (permalink / raw)
To: linux-ia64
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-10 13:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-10 13:28 [Linux-ia64] Intel's fortan compiler dai yiyang
2003-03-10 13:50 ` Hideki Yamamoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox