Pelles C forum

Pelles C => General discussions => Topic started by: liut on December 28, 2018, 09:05:34 AM

Title: Mapinfo
Post 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!
Title: Re: Mapinfo
Post by: TimoVJL on December 28, 2018, 02:14:57 PM
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)
Title: Re: Mapinfo
Post by: liut on December 29, 2018, 03:07:15 AM
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.
Title: Re: Mapinfo
Post by: TimoVJL on December 29, 2018, 11:39:08 AM
It works only without a -map option.

So it differs from a MS link.exe, as it accepts -map -mapinfo:exports
Title: Re: Mapinfo
Post by: liut on January 02, 2019, 05:34:20 AM
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. :(
Title: Re: Mapinfo
Post by: TimoVJL on January 02, 2019, 08:30:31 AM
It needs debug-info for it too, at least -Zd Only line numbers.
Title: Re: Mapinfo
Post by: liut on January 02, 2019, 10:44:02 AM
Cool! It works now! :)