[fpc-pascal]Two Questions

Kanzelsberger Pavel kanzelsberger at rekt.umb.sk
Tue Mar 26 09:28:07 CET 2002


Compile your program with -Xs switch and/or try also -XX
Program with CRT should have about 40k not 400k

Dunno about IDE, I'm not using it :)

Regards, Pavel Kanzelsberger

-----Original Message-----
From: freepascal at netscape.net [mailto:freepascal at netscape.net] 
Sent: Monday, March 25, 2002 9:58 PM
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: [fpc-pascal]Two Questions


My first question is, why are FPC Win32 executables so large, even after
running stripw.exe on them? A simple program that has nothing but the CRT
unit declared and does nothing more than clear the screen and write "Hello"
is a 400K executable. Smart linking doesn't seem to do much to cure it, and
stripw.exe only trims it down to about 150K. That seems a bit outrageous to
me, but that's just my opinion, I guess.

My second question is, why doesn't the IDE run the program when CTRL-F9 is
pressed? It just immediately returns without running the program and gives
me a message about the program exiting with some bogus error level value
that I certainly haven't defined in my simple clrscr;writeln('Hello'); test
program.
-- 




__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with Shop at Netscape!
http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/


_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20020326/40238244/attachment.html>


More information about the fpc-pascal mailing list