TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: KURT KUZBA
from: EMILIJAN MIRCESKI
date: 1997-12-28 18:01:00
subject: C compiler help needed

 -=> Quoting Kurt Kuzba to Emilijan Mirceski <=-
 EM>   I've heard from a frien that c compiler compiles first
 EM>   into a .obj file and then form .obj file into a
 EM>   executable.
 EM>   And this is the quetion,How could I read the .obj file
 EM>   and generate executable from it?
 KK> You need only two things. First, you have to have a startup
 KK> code object, and any library objects required by your app.
 KK> Next, you need a linker, which will link your .OBJ file to
 KK> the startup code and any required library .OBJ's.
 KK> Compilers will compile source code to a linkable object, and
 KK> then use their linker to link all the required code objects
 KK> into an executable code object, which is your .EXE file.
 KK> With most compilers these days, all this happens when you hit
 KK> a single key, such as F9 for Borland, or F7 for MSVC.
 KK> Most compilers will also test the time and date of the last
 KK> file update to the source code against info in the .OBJ, and
 KK> skip the compile if the source has not been changed, just
 KK> doing the link during the build, unless a full rebuild is
 KK> deliberately specified.
 KK> Command line compilers, such as MIX Power C, will usually
 KK> include a compiler switch which will invoke the linker
 KK> after the compile to linkable objects is completed.
 
 Thanks on the answer,
 but I was asking for how to make a linker.
10x Anyway
Greetings
from
Macedonia
.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:::.:.:.:.:.:.:.:.:.:.:::.:.:.
[Emilijan.Mirceski@f100.n383.z2.fidonet.org|->{(!:%.:.:%..::%.!)}
..::.:..::..:..:..:.:.::.:..:.:::.:.:::.:.:.:..:.:..::.::.:..:.:.
... FOR SYSOP USE ONLY - Do not write below this line.
___ Blue Wave/DOS v2.30
-+- OLMS 2.53 UNREG
--- FMail/Win32 1.22
---------------
* Origin: Struga BBS +389 96 74074 * Macedonia * (2:383/0)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.