[fpc-pascal]about a last cprt21.as change

Sergey Korshunoff seyko at comail.ru
Mon Jun 3 03:26:18 CEST 2002


about cprt21.as last change
Отправитель: Sergey Korshunoff <seyko at comail.ru>
 Получатель: fpc-pascal at deadlock.et.tudelft.nl
 Дата: Mon, 3 Jun 2002 05:21:03 +0400
 
Hi!
Look the LOG:

# $Log: cprt21.as,v $
# Revision 1.4  2001/06/04 18:05:47  peter
#   * use own dummy for _init and _fini
#

Question is: Why????
This change make it impossible to use from a fpc main program a library 
(*.so) made by c++ (init code in library is not called)

In attachment  is a tar with diff's and tests for linking fpc programs and 
libs.

One patch (how to mark a PASCALMAIN symbol as .hidden) may be
not a good solution but it works (currently a fpc made main program cannot
use a fpc made library -- init code in library is not called).

Regards,
        Sergey Korshunoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paslib.tgz
Type: application/x-gzip
Size: 3403 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20020603/55292ff2/attachment.bin>


More information about the fpc-pascal mailing list