Page 1 of 1

Fichero .MAP (SOLUCIONADO)

PostPosted: Sat Jun 17, 2023 4:32 am
by Armando
Foreros:

Actualmente al compila mi aplicación, automático se genera un fichero con el
mismo nombre de la aplicación pero con extensión .MAP

Cómo evitarlo?

Saludos

Re: Fichero .MAP

PostPosted: Sat Jun 17, 2023 7:51 am
by Enrico Maria Giordano
Which C compiler?

Re: Fichero .MAP

PostPosted: Sat Jun 17, 2023 2:25 pm
by Armando
Mr. Enrico:

My tools

FW2012, BCC7 & Harbour

Thanks my friend

Re: Fichero .MAP

PostPosted: Sat Jun 17, 2023 2:46 pm
by Enrico Maria Giordano
In buildx.bat, try replacing this line

echo %1.map, + >> b32.bc

with this other

echo , + >> b32.bc

Re: Fichero .MAP

PostPosted: Sat Jun 17, 2023 3:29 pm
by karinha
Code: Select all  Expand view

@If Exist FABRICIO.Exe Del FABRICIO.EXE
@If Exist *.Bak        Del *.Bak
@If Exist *.Obj        Del *.Obj
@If Exist *.Log        Del *.Log
@If Exist *.C          Del *.C
@If Exist *.MAP        Del *.MAP
 


Regards, saludos.

Re: Fichero .MAP

PostPosted: Sat Jun 17, 2023 3:40 pm
by karinha
Ó:

%bcdir%\bin\ilink32 -Gn -M -m -s -Tpe -x -ap @b32.bc

Code: Select all  Expand view

Turbo Incremental Link 6.90 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Syntax: ILINK32 objfiles, exefile, mapfile, libfiles, deffile, resfiles
@xxxx indicates use response file xxxx
General Options:                        -Af:nnnn Specify file alignment
  -C       Clear state before linking   -Ao:nnnn Specify object alignment
  -wxxx    Warning control              -ax      Specify application type
  -Enn     Max number of errors         -b:xxxx  Specify image base addr
  -r       Verbose linking              -Txx     Specify output file type
  -q       Supress banner               -H:xxxx  Specify heap reserve size
  -c       Case sensitive linking       -Hc:xxxx Specify heap commit size
  -v       Full debug information       -S:xxxx  Specify stack reserve size
  -Gn      No state files               -Sc:xxxx Specify stack commit size
  -Gi      Generate import library      -Vd.d    Specify Windows version
  -GD      Generate .DRC file           -Dstring Set image description
Map File Control:                       -Vd.d    Specify subsystem version
  -M       Map with mangled names       -Ud.d    Specify image user version
  -m       Map file with publics        -GC      Specify image comment str
  -s       Detailed segment map         -GF      Set image flags
  -x       No map                       -Gl      Static package
Paths:                                  -Gpd     Design time only package
  -I       Intermediate output dir      -Gpr     Runtime only package
  -L       Specify library search paths -GS      Set section flags
  -j       Specify object search paths  -Gt      Fast TLS
Image Control:                          -Gz      Do image checksum
  -d       Delay load a .DLL            -Rr      Replace resources
 


Regards, saludos.

Re: Fichero .MAP

PostPosted: Sat Jun 17, 2023 6:56 pm
by Armando
Hola:

Me disculpo porque olvide mencionar que uso xMate v 1.15 para compilar,
y no encuentro los textos recomendados.

Saludos

Re: Fichero .MAP

PostPosted: Sat Jun 17, 2023 7:37 pm
by karinha
Armando, no hay un botton escrito <Linkador>? ó algo similar en inglês ó español? Donde está el ILINK32?

Code: Select all  Expand view

ilink32 -Gn -M -m -s -Tpe -x -ap
 


Creo sea por ejemplo: proyecto.ENV no és ahí?

Regards, saludos.

Re: Fichero .MAP

PostPosted: Sat Jun 17, 2023 7:46 pm
by Armando
Karinha y amigos:

Bingo !, ahí estaba, solucionado.

Muchas gracias