Re: [fpc-devel] Making a debian package from FPC

2006-08-31 Thread Daniël Mantione


Op Thu, 31 Aug 2006, schreef ik:

> Thanks again :)
> I compiled gdb from sources, and copied the libgdb.a to the fpcsrc and
> symlink it as libgdb and it worked.
> 
> (Just to make it index for others to have that using search engines :))
> 
> Now another question is, can I cross compile to make an i386 deb
> packages as well ?

Generally, yes, but there can be a few surprises:
* The compiler expects 32-bit libraries in /lib
* Bootstrap compilers <=2.0.2 need you to set GNUTARGET and LDEMULATION
  to instruct the binutils to generate 32-bit binaries.
* Allhtough building works, I'm not sure of .deb-building.

Daniël___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Making a debian package from FPC

2006-08-31 Thread ik

Thanks again :)

I compiled gdb from sources, and copied the libgdb.a to the fpcsrc and
symlink it as libgdb and it worked.

(Just to make it index for others to have that using search engines :))

Now another question is, can I cross compile to make an i386 deb
packages as well ?

Ido

On 8/31/06, Daniël Mantione <[EMAIL PROTECTED]> wrote:



Op Thu, 31 Aug 2006, schreef ik:

> Thanks.
> I do have one problem when I try to compile it though:
> /bin/cp: cannot stat `fpcsrc/libgdb': No such file or directory
>
> I'm using Linux ubuntu 64bit ...
>
> I can't find any libgdb, so I guess it's a third party library ?

Download it from: ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb

See also http://www.freepascal.org/wiki/index.php/Release_engineering

Daniël

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Making a debian package from FPC

2006-08-31 Thread Daniël Mantione


Op Thu, 31 Aug 2006, schreef ik:

> Thanks.
> I do have one problem when I try to compile it though:
> /bin/cp: cannot stat `fpcsrc/libgdb': No such file or directory
> 
> I'm using Linux ubuntu 64bit ...
> 
> I can't find any libgdb, so I guess it's a third party library ?

Download it from: ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb

See also http://www.freepascal.org/wiki/index.php/Release_engineering

Daniël___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Making a debian package from FPC

2006-08-31 Thread ik

Thanks.

I do have one problem when I try to compile it though:
/bin/cp: cannot stat `fpcsrc/libgdb': No such file or directory

I'm using Linux ubuntu 64bit ...

I can't find any libgdb, so I guess it's a third party library ?

Ido

On 8/30/06, Daniël Mantione <[EMAIL PROTECTED]> wrote:



Op Wed, 30 Aug 2006, schreef ik:

> Hi,
>
> I tried to do the following:
>
> make deb
>
> But the Makefile does not have any rules for a "deb" section. I looked
> for some documentation on the subject but I could not find any.
>
> Can someone please explain to me how can I make deb packages using the
> make script ?

You need to check out the fpcbuild repository, not the fpc repository.
FPCbuild contains the infrastructure to build deb files.

Daniël

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Making a debian package from FPC

2006-08-30 Thread Daniël Mantione


Op Wed, 30 Aug 2006, schreef ik:

> Hi,
> 
> I tried to do the following:
> 
> make deb
> 
> But the Makefile does not have any rules for a "deb" section. I looked
> for some documentation on the subject but I could not find any.
> 
> Can someone please explain to me how can I make deb packages using the
> make script ?

You need to check out the fpcbuild repository, not the fpc repository. 
FPCbuild contains the infrastructure to build deb files.

Daniël___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Making a debian package from FPC

2006-08-30 Thread ik

Hi,

I tried to do the following:

make deb

But the Makefile does not have any rules for a "deb" section. I looked
for some documentation on the subject but I could not find any.

Can someone please explain to me how can I make deb packages using the
make script ?

Thanks,

Ido
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel