NM2WCH

SGDK only sub forum

Moderator: Stef

Post Reply
MintyTheCat
Very interested
Posts: 484
Joined: Sat Mar 05, 2011 11:11 pm
Location: Berlin, Germany

NM2WCH

Post by MintyTheCat » Thu Aug 29, 2013 12:11 pm

Hello,

I was just looking at a Map File last Night and thought "it would be cool to have these Variables added automatically, can I do it with the Map File?". I then find that there's a Tool that converts NM's output to the Watcher-Format but I cannot get it to work.

I do this:

nm -n -S -t x rom.bin > rom.nm

And I get this:

"rom.bin: File format not recognised"

Now the ROM is correct but why would NM have an Issue, any Ideas?

Cheers.

ElBarto
Very interested
Posts: 160
Joined: Wed Dec 13, 2006 10:29 am
Contact:

Post by ElBarto » Thu Aug 29, 2013 2:28 pm

nm, works at the ELF level (or a.out/whatever but not binary).

MintyTheCat
Very interested
Posts: 484
Joined: Sat Mar 05, 2011 11:11 pm
Location: Berlin, Germany

Post by MintyTheCat » Thu Aug 29, 2013 5:00 pm

ElBarto wrote:nm, works at the ELF level (or a.out/whatever but not binary).
Right you are - I'll see about outputing ELF. Yes, that was silly of me - the MD is not likely to support ELFs :D

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr » Mon Sep 02, 2013 3:16 pm

hi, perhaps you didn't see this post :
viewtopic.php?t=300

Post Reply