Peter N Lewis wrote:
gpc -I/Users/peter/unix/gpc/gpc-pinterfaces/GPCPInterfaces -funit-path=/Users/peter/unix/gpc/gpc-pinterfaces/GPCPInterfaces --automake -o testrecord testrecord.pas
it would automatically include all the necessary units, but apparently not (did this change, I think it worked before but I might have compiled it slightly differently).
This should work. Since you don't say what happens, I can't tell more.
/usr/local/bin/ld: Undefined symbols: _init_Adsp _init_Aedatamodel _init_Aehelpers _init_Aeinteraction _init_Aemach _init_Aeobjects _init_Aepackobject _init_Aeregistry ... collect2: ld returned 1 exit status make: *** [testrecord] Error 1
I need more information (e.g., the output of a `-v' run -- if it's very long, send it privately, or put it on the web and send an URL).
One guess though: Since the names seems to be alphabetically ordered and start with `Ad', it might in fact be a truncation due to command line length limits. In this case, reducing the number of units might be the only recurse.
Frank