05 March 2013, 22:43 | #1 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Sas/c 6.50 map file creation
Hi,
I am trying to compile something with sas/c and would like a map file for debugging purposes.. I just don't seem to have any luck - no file is created. My question then is: Are the options from SCOPTIONS always read by sc, possibly afterwards being overridden by cmd line options to sc or how does that work? It seems to pick up include directories ok from SCOPTIONS.. in SCOPTIONS, the following mapping options are specified: MAP MAPHUNK MAPLIB MAPSYMBOLS MAPFILE=t:out.map I'm invoking sc through an smakefile, btw.. cheers.. |
06 March 2013, 13:37 | #2 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Quote:
So you could test whether the MAP option works when calling "sc" manually from the command line. If not, it will likely also not work with SCOPTIONS. Then you can still call slink separately and pass your MAP options there. |
|
06 March 2013, 14:30 | #3 | |
Digital Corruption
Join Date: Jan 2007
Location: Dorrigo/Australia
Age: 60
Posts: 355
|
Hi Hoover,
Quote:
If invoked from the command line, "sc" will ignore the SCOPTIONS file. "MAP" will only produce output if you set MAPFILE=filename, select one or more of the map types (hunk,lib etc. as you have above), *AND* choose to "link" as well. MAP is ignored if "link" is not on the command line, since default is "nolink". Hope this helps? Cheers, Red p.s. Did you have any luck with your " How does one reverse engineer Amiga app? " problem? |
|
06 March 2013, 19:45 | #4 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Ahh, I see... the mapping options are of course for linker, not the compiler
SCOPTIONS is perhaps used by smake to set the $SCOPTS variable then.. but my smakefile only has $SCOPTS on the compile steps, not on the link step.. gcc has the ability to create "listing" files.. I don't suppose there's anything similar for sas/c? @redskull: that thread wasn't started by me |
07 March 2013, 22:32 | #5 | |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Quote:
in version 6.58 there is starter_project/SCoptions. a GUI where you can configure default settings. MAP is also mentioned there. Last edited by emufan; 07 March 2013 at 22:39. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hard drive image file creation failed | john1979 | support.WinUAE | 3 | 02 February 2013 13:17 |
Creation of a 5 1/4 diskette =) | Turran | Nostalgia & memories | 5 | 18 December 2012 23:30 |
Amiga Creation | s2325 | Nostalgia & memories | 4 | 22 February 2010 12:20 |
Sensible Soccer, pitch1.map pitch2.map problem. | Whitesnake | project.WHDLoad | 0 | 31 May 2006 14:52 |
|
|