Pelles C forum
Pelles C => General discussions => Topic started by: liut on December 28, 2018, 09:05:34 AM
-
Hello, is it possible to generate line number in the map file with settings in project properties dialog in Pelles C 8.0 IDE? I can see an option in POLINK "/MAPINFO:LINES", but can't see the equal option in project dialog in IDE (the map file can be generated but without line number). Thanks!
-
That -map option is a problematic for poide, as it wipes out those -mapinfo: options away :(
I use PrjOptions (https://forum.pellesc.de/index.php?topic=5248.msg20172#msg20172) to handle those other options.
Project Add-Ins (https://forum.pellesc.de/index.php?topic=7330.msg27816#msg27816)
-
Thank you. I tried the add-in, and can add the option via the dialog. But the output result is the same, no matter whether I put "-mapinfo:lines", "/mapinfo:lines", "-MAPINFO:LINES" or "/MAPINFO:LINES".
The C and Map file uploaded for your ref.
-
It works only without a -map option.
So it differs from a MS link.exe, as it accepts -map -mapinfo:exports
-
I have different results. I put re removed the option '-map' with '-mapinfo', the results won't be changed. But I tested the 4 values 'exports/fixups/lines/paths', only 'lines' doesn't work. :(
-
It needs debug-info for it too, at least -Zd Only line numbers.
-
Cool! It works now! :)