Pascal/Turbo Pascal - ejecutar programa

 
Vista:

ejecutar programa

Publicado por YO  (4 intervenciones) el 16/08/2010 00:45:45
Hola a todos! A ver si alguien me puede ayudar.

Existen 2 opciones en free pascal para ejecutar el programa para saber si se sale del rango y si elimina toda la memoria almacenada que son -Cr y -gh .
Pero no se como ejecutar un programa con esas opciones, alguien sabe como debe ser el formato de las instrucciones para ejecutarlo?? Trabajo en windows.

Gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:ejecutar programa

Publicado por i am (1 intervención) el 16/08/2010 19:51:51
From the console
ppc386 [options] <inputfile> [options]
put + after a boolean switch option to enable it, - to disable it

-? shows this help
-h shows this help without waiting

-Ch<n> <n> bytes heap (between 1023 and 67107840)
-Chxxx Reserva xxx bytes del heap xxx debe estar entre 1024 y 67107840.

-gh use heap trace unit (for memory leak debugging)
-gh Utiliza la unidad heaptrc (Produce un informe sobre el uso del montón después de que el programa se cierra)

* Looking at also Boolean Options and directves
http://coleweb.dc.fi.udc.es/docencia/edi/freepascal/doc/prog/node3.html
$M MIN,MAX $MEMORY Set memory sizes
$Q[+/-] $OVERFLOWCHECKS[ON/OFF] -Co Overflow checking
$R[+/-] $RANGECHEKS[ON/OFF] -Cr Range checks
$S[+/-] -Ct Stack checks

* http://www.freepascal.org/docs-html/user/usersu15.html
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar