NO

Author Topic: Mapinfo  (Read 3788 times)

liut

  • Guest
Mapinfo
« 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!

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: Mapinfo
« Reply #1 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 to handle those other options.

Project Add-Ins
May the source be with you

liut

  • Guest
Re: Mapinfo
« Reply #2 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.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: Mapinfo
« Reply #3 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
« Last Edit: December 29, 2018, 12:15:19 PM by TimoVJL »
May the source be with you

liut

  • Guest
Re: Mapinfo
« Reply #4 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. :(

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: Mapinfo
« Reply #5 on: January 02, 2019, 08:30:31 AM »
It needs debug-info for it too, at least -Zd Only line numbers.
« Last Edit: January 02, 2019, 11:04:41 AM by TimoVJL »
May the source be with you

liut

  • Guest
Re: Mapinfo
« Reply #6 on: January 02, 2019, 10:44:02 AM »
Cool! It works now! :)