Mail Archives: djgpp/2004/05/09/01:07:34
> From: "wordsworth" <news AT callera DOT net>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 8 May 2004 11:50:13 +0100
>
> he C++
> standard library is linked by default with gpp. How does this manifest
> itself - I dont mean where is the C++ library, but rather how is it linked?
The gpp compiler driver instructs the linker (ld.exe) to scan the C++
libraries. When the linker scans them, it links into the binary any
functions that the program and its subroutines call.
> Is it compiled into a binary or can I define its location (add config
> switches) in a config file?
It is compiled into the binary. DJGPP doesn't support shared
libraries (a.k.a. DLLs), as of now.
> I want to avoid having to add extra suff to the compiler line when
> excuting cmd line compiles e.g. gpp test.cc -o test.exe.
What exactly is ``extra stuff'' you want to avoid in this command
line? To me, it looks like a pretty much minimal compilation command.
- Raw text -