Page 1 of 1

LD error output

Posted: Wed Sep 10, 2003 11:00 pm
by Dangamoose
I want to write all my LD output to a file. I've looked through ld --help but i can't see anything, maybe i missed it.
How can i write all my (error) messages to a file in LD?

Dangamoose

RE:LD error output

Posted: Wed Sep 10, 2003 11:00 pm
by DR
Under linux:

ld (options) 2>&1 | tee "errors.log"

Under windows:

ld (options) >> "errors.log"

RE:LD error output

Posted: Wed Sep 10, 2003 11:00 pm
by Dangamoose
Cheers v.much.

Dangamoose

RE:LD error output

Posted: Mon Sep 15, 2003 11:00 pm
by Dangamoose
Ok, that works fine, my errors are going to the log. But, how do i now stop ld from dumping errors to my console?

Thanks in advance.
Dangamoose