NO

Author Topic: Mapinfo  (Read 852 times)

Offline liut

  • Member
  • *
  • Posts: 3
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: 1866
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

Offline liut

  • Member
  • *
  • Posts: 3
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: 1866
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

Offline liut

  • Member
  • *
  • Posts: 3
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: 1866
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

Offline liut

  • Member
  • *
  • Posts: 3
Re: Mapinfo
« Reply #6 on: January 02, 2019, 10:44:02 am »
Cool! It works now! :)