LD error output

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Dangamoose

LD error output

Post 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
DR

RE:LD error output

Post by DR »

Under linux:

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

Under windows:

ld (options) >> "errors.log"
Dangamoose

RE:LD error output

Post by Dangamoose »

Cheers v.much.

Dangamoose
Dangamoose

RE:LD error output

Post 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
Post Reply