All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hideki Yamamoto" <hideki@hpc.bs1.fc.nec.co.jp>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Intel's fortan compiler
Date: Mon, 10 Mar 2003 13:50:40 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590709806016@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709806015@msgid-missing>

 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
> 


      reply	other threads:[~2003-03-10 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-10 13:28 [Linux-ia64] Intel's fortan compiler dai yiyang
2003-03-10 13:50 ` Hideki Yamamoto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590709806016@msgid-missing \
    --to=hideki@hpc.bs1.fc.nec.co.jp \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.