ld-new

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
firas981

ld-new

Post by firas981 »

should anybody write how to invoke ld-new (GNU LD for Win)
to output bin file from 3 input bin files ?

thanks
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:ld-new

Post by Pype.Clicker »

the author of the tool's manual, maybe ... or the program itself (ld-new --help should ... help ;) )

all i can really offer is that -o <output file> <infile 1> <infile 2> <infile 3> is the way i would try it with the normal 'ld' program ...
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:ld-new

Post by Candy »

a bin file is defined as a file that is not readable. What sort of bin files?

If you mean object files to one object file, try

Code: Select all

ld -r -o $OUTFILE $OBJECTS
or
ld -i -o $OUTFILE $OBJECTS
Both are equal, don't know which flag has preference (recursive linking or incremental linking, it's the same thing)
Post Reply