Delphi/Kylix app on uClibc???

Rory Vieira rory.vieira at coolview.nl
Thu Dec 1 10:20:47 UTC 2005


Dear Joseph,

> I installed Kylix3_open and made a simple hello world program.  
> readelf -d showed that it needed libpthread.so.0, libdl.so.2, and 
> libc.so.6.
Obviously hehe

> So there isn't a way to produce a "self-contained" executable with 
> Kylix that doesn't require the glibc libraries?  How about modifying 
> the install of Kylix to compile against the uClibc libraries instead? 
>  They are supposed to be "compatable" right?
First of all, you would need the sources to Kylix itself (yeah right)...
Now as that isn't going to happen you'll need another solution. One that
Probably DOESN'T include using Kylix to 'compile' you apps.
 
> Can any Pascal compiler produce an executable that will run without 
> shared C libraries (or with the uClibc libraries)???  We just don't 
> want to have to convert all his Pascal code to C if that is 
> avoidable.
You could look at FreePascal (of which I believe there is a Linux version.
This 'should' come with sources too...

> [ Please excuse my ignorance, but I know little about Pascal or Kylix 
> so I am just throwing ideas out there.  I don't understand why a 
> Pascal program would require C libraries in the first place...]
Well, it's pretty obvious... Kylix is nothing more that Borland C++ Builder
with
a Delphi skin, together with a new pascal compiler. The trouble is that
there isn't a WIN32 API hanging around on Linux, so everything has to
be ported to use Libc instead. Creating static binaries would defeat Kylix
due
to their sizes (I wouldn't get happy about a binary being 2,5M
(stripped))...

Hope this helps...
Cheers,
Rory Vieira
The Cool View

rory dot vieira at coolview dot nl
http colon slash slash www coolview dot nl

Mollegang 7
5345LR Oss

T. +31 (0)6-29212838

-----

Dit bericht en de eventuele bijlagen zijn uitsluitend bestemd voor de
beoogde ontvanger. Inzage, gebruik en verspreiding van de inhoud ervan is
aan hem of haar voorbehouden. Indien u niet de beoogde ontvanger of diens
gemachtigde bent, dan is inzage, gebruik en verspreiding derhalve niet
toegestaan. In geval van onjuiste adressering wordt u verzocht zo spoedig
mogelijk contact op te nemen met de afzender van dit bericht en zorg te
dragen voor onmiddellijke verwijdering van dit bericht uit uw systemen. Dit
bericht is niet beschermd tegen manipulatie door derden. Voor de door u
ontvangen inhoud kunnen wij dan ook geen aansprakelijkheid aanvaarden en
evenmin kunt u er rechten aan ontlenen.

-----

The information in this e-mail and any files transmitted is intended
exclusively for the addressee. If you are not the intended recipient then
would you please contact us immediately? In that case we also request you to
destroy the e-mail and to neither use the contents nor disclose them in any
matter to third parties. The information provided in this e-mail message is
forwarded through the Internet. E-mail traffic through Internet does not
guarantee confidentiality. Therefore the content should be verified. We deny
any responsibility for damages as a result of the use of e-mail messages.

-----




More information about the uClibc mailing list