Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2002-11

fpc1.1

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Maxim Artemev

Hello.

1)
I've got a subj via CVS, compiled compiler, rtl. (After little correction in source code I've done)

The I tried:
program test;
begin
     writeln('hello stupid world!');    // (c) example from GNU :)
end.

then make:
ppc386 -Og3p2 -XX -Xs test.pas

And what did I see?
test.exe have size ~70KB!

For comparation:
fpc-1.0.6 [Win32] 14KB
fpc-1.0.6 [FreeBSD] 10KB

It's a bug or feature? :)
After modification in Makefile.fpc in /rtl/win32 with flags for optimization, etc the "test.exe" size still ~70KB.

P.S.
Modification in the compiler code was very little. I just added in the ppheap.pas `uses` the module cutils.pas.

2)
I don't know, have the russian users problems with cyrillic in FreeVision? Or it just a Win2k console problem?

---
WBR, Max Artemev.
Mathematical department of the Pedagogic University of Moscow, Russia. The Raccoons Homepage http://theraccoons.lionking.ru [Furry] [Pascal++] [*NIX]

Florian Klaempfl
to Maxim Artemev
you wrote 25 lines
Hello. 1) I've got a subj via CVS, compiled compiler, rtl. (After little correction in source code I've done) The I tried: program test; begin writeln('hello stupid world!'); // (c) example from GNU :) end. then make: ppc386 -Og3p2 -XX -Xs test.pas And what did I see? test.exe have size ~70KB! For comparation: fpc-1.0.6 [Win32] 14KB fpc-1.0.6 [FreeBSD] 10KB It's a bug or feature? :) After modification in Makefile.fpc in /rtl/win32 with flags for optimization, etc the "test.exe" size still ~70KB.

Use a smartlinked rtl, e.g. created by
make CREATESMART=1