Mail Archives: djgpp/1998/04/09/13:36:12
On Thu, 9 Apr 1998, Ryuji Yokoyama wrote:
> >Try the following: "redir -o err.log -eo g++ -v prog.cpp -o prog.exe"
>
> I got folllowing "err.log" file but not a.exe.
That's because "-o prog.exe" tells the linker to produce prog.exe, like
you'd expect. Observe:
> ld -o prog.exe c:/djgpp/lib/crt0.o -Lc:/djgpp/lib/gcc-lib/djgpp/2.80
^^^^^^^^^^^
See that "-o prog.exe"? This tells `ld' (the linker) to put the program
on prog.exe. You should see prog.exe in there.
- Raw text -