GCC 3.x and GNU utilities 3.x (Was: [fpc-devel]Small technical answers)

xhajt03 at vol.cz xhajt03 at vol.cz
Mon Feb 23 13:46:51 CET 2004


From:        gecko2 at tlen.pl
To:          fpc-devel at lists.freepascal.org
Subject:     [fpc-devel]Small technical answers
Date sent:   Sat, 21 Feb 2004 20:47:34 +0100

> When it'll be possible to call functions written in C,
> which were
> compiled using GCC 3.x? And also, when FPC will be

This should be perfectly possible for functions written in C (not
C++!), IMHO - unless GCC 3.x is very different from 2.x regarding
calling conventions, which I doubt. Have you tried it? If you're
talking about C++, that's a different story - this feature is
planned, but without a fixed date yet.


> distributed with
> version 3.x of GNU utilities?

Do you have any special reason why you'd need to use this
version? Changing to a newer version of GNU utilities is usually
matter of time and testing of the new version on every platform.
For some platforms (like Linux etc.) these are probably used
already, because these utilities are installed by default on
these platforms. However, FPC has slightly different needs than
GCC, so the older version might be perfectly useable for FPC
although it might be outdated for GCC.

Regards

Tomas


-- 
VOLNY klub: Modemisti vseho druhu, spojte se!
http://klub.volny.cz





More information about the fpc-devel mailing list