Sponsored Content
Full Discussion: cc and ld is not same ?
Top Forums Programming cc and ld is not same ? Post 16729 by Perderabo on Wednesday 6th of March 2002 08:58:38 AM
Old 03-06-2002
I don't really follow your question here. I hope that realize that cc and ld are different! When you let cc automatically invoke ld it does so correctly. If you ask cc not do do that and then invoke ld yourself, you can use lots of options. And you can create some more errors than are possible when cc invokes ld itself.

If you're asking if something is wrong, I would say yes, a core file when you run a program is a pretty good indication of that. Still the core file may or may not be related to the warning you got.

About that warning, somewhere, probably during the compile, you must have specified a different architecture. Don't do that unless you really must build a program on one hp system and then run it on a very different hp system. Let the compiler pick the architecture. You cannot upgrade your cpu with just a compiler option.
 
INTERCAL::ByteCode(3pm) 				User Contributed Perl Documentation				   INTERCAL::ByteCode(3pm)

TITLE
Language::INTERCAL::Bytecode - intermediate language DESCRIPTION
The CLC-INTERCAL compiler works by producing bytecode from the program source; this bytecode can be interpreted to execute the program immediately; alternatively, a backend can produce something else from the bytecode, for example C or Perl source code which can then be compiled to your computer's native object format. The compiler itself is just some more bytecode. Thus, to produce the compiler you need a compiler compiler, and to produce that you need a compiler compiler compiler; to produce the latter you would need a compiler compiler compiler compiler, and so on to infinity. To simplify the programmer's life (eh?), the compiler compiler is able to compile itself, and is therefore identical to the compiler compiler compiler (etcetera). The programmer can start the process because a pre-compiled compiler compiler, in the form of bytecode, is provided with the CLC-INTERCAL distribution; this compiler compiler then is able to compile all other compilers, as well as to rebuild itself if need be. See the online manual or the HTML documentation included with the distribution for more information about this. SEE ALSO
A qualified psychiatrist AUTHOR
Claudio Calvelli - intercal (whirlpool) sdf.lonestar.org (Please include the word INTERLEAVING in the subject when emailing that address, or the email may be ignored) perl v5.8.8 2008-03-29 INTERCAL::ByteCode(3pm)
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy