[fpc-pascal]Amiga snapshot (was heap and stack size )

2003-02-01 Thread Carl Eric Codere


>Hmm, I have not yet been able to use it, as it thinks that sysamiga.ppu
and >sysamiga.o has different dates and wan'ts to compile it again but As
there is >no RTL source files it can't do it. Old amiga 0.9.5 files won't
do it and >win32 snapshots files won't work either... :(

Greetings,
  Sorry, yes i tested it on my machine and it seems to work,
but it does not to be the case, here is what Nils Sjoholm did when he noticed
the problem (I'll try to upload a new snpashot, hopefully tested more thouroughly
this weekend!):


>>just did a test with the compiler on ftp.
>>
>>I had some problem to compile hello.pas, the compiler
>>want the source for units. Had to use touch and then
>>it was happy. Had to make the .o files newer than .ppu
>



___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



[fpc-pascal]Unit Graph with Linux (Knoppix) or alternative unit

2003-02-01 Thread Holger Peterrs
Hi,
I've got a question again :)

I get the mistake, which is described in the FAQ under my Knoppix 
Distribution:

>Why can't the linker find "vga"?

>This error typically looks like this:

>Free Pascal Compiler version 1.0.x [/yy/zz] for i386
>Copyright (c) 1993-2000 by Florian Klaempfl
>Target OS: Linux for i386
>Compiling test.pp
>Assembling test
>Linking test
>/usr/bin/ld: cannot find -lvga
>test.pp(6,4) Warning: Error while linking Closing script ppas.sh 5 Lines
>compiled, 0.2 sec
>
>
>This error is not an error in the installation of FPC or FPC itself, but 
a missing >Svgalib library in your unix install. Please install the 
required library using your >favourite package manager tool

For Knoppix boots from CD, I don't think it is not possible to install 
such a package in this path. How can I get this working? (or is there any 
other Unit that allows the use of a PutPixel function in an easy way?
A special GTK Graphic Widget was good, too.)

Thanks,
Holger

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Re: [fpc-pascal]Unit Graph with Linux (Knoppix) or alternative unit

2003-02-01 Thread Marco van de Voort
> I've got a question again :)
> 
> I get the mistake, which is described in the FAQ under my Knoppix 
> Distribution:
> 
> >Why can't the linker find "vga"?
> 
> >This error typically looks like this:
> 
> >Free Pascal Compiler version 1.0.x [/yy/zz] for i386
> >Copyright (c) 1993-2000 by Florian Klaempfl
> >Target OS: Linux for i386
> >Compiling test.pp
> >Assembling test
> >Linking test
> >/usr/bin/ld: cannot find -lvga
> >test.pp(6,4) Warning: Error while linking Closing script ppas.sh 5 Lines
> >compiled, 0.2 sec
> >
> >
> >This error is not an error in the installation of FPC or FPC itself, but 
> a missing >Svgalib library in your unix install. Please install the 
> required library using your >favourite package manager tool
> 
> For Knoppix boots from CD, I don't think it is not possible to install 
> such a package in this path. How can I get this working? (or is there any 
> other Unit that allows the use of a PutPixel function in an easy way?
> A special GTK Graphic Widget was good, too.)

Don't link dynamic, link static. Make sure libvga.a (self compiled is best,
otherwise look for a svgalib-devel package or so) is somewhere where the
compiler can find it (like the current dir).

I had some problems with this (when I created a static IDE), which I solved
by post editing link.res, removing the -lvga line, and adding the libvga.a
line with full path there.

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal