Nп/п : 75 из 100
 От   : gah4                                2:5075/128        07 сен 23 06:25:56
 К    : db                                                    07 сен 23 16:27:02
 Тема : Re: Calling a C++ function from Forttran
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<ce7c69a8-fac9-410a-9411-c92a2e7ac519n@googlegroups.com> 4668a09a
@REPLY: 1@dont-email.me> 08dbf438
@REPLYADDR gah4 <gah4@u.washington.edu>
@REPLYTO 2:5075/128 gah4
@CHRS: CP866 2
@RFC: 1 0
@RFC-References: 1@dont-email.me>
<klobumFfoflU1@mid.individual.net> 1@dont-email.me> <kls9koF4ootU1@mid.individual.net>
1@dont-email.me>
@RFC-Message-ID:
<ce7c69a8-fac9-410a-9411-c92a2e7ac519n@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
On Thursday, September 7, 2023 at 2:49:24 AM UTC-7, db wrote:

(snip)

> > Isn`t "cpp" just the C/C++ preprocessor? Shouldn`t you use "g++" instead? 

Tradition is that it figures out what to do based on the file names.

In any case, cc1 is the usual first pass of the C compilers, and I suspect that
cc1plus is the first pass of the C++ compiler.

It is usual for C and C++ compilers to include the preprocessor, and not
run it as a separate pass.  You can still ask for only the preprocessor, though.

Traditionally, that is:

cc -E
 
> Ah, OK, I thought it mean c plus plus. I will install C++ now 
> and compile with G++ (i suppose). 
 
--- G2/1.0
 * Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх