On 1/13/06, Jonathan Worthington <[EMAIL PROTECTED]> wrote: > "Greg Bacon" <[EMAIL PROTECTED]> wrote: > > Not quite. At r11144 on Cygwin, I see > > > > [...] > > gcc -o miniparrot.exe -s -L/usr/local/lib compilers/imcc/main.o \ > > -L/home/gbacon/src/parrot/blib/lib -lparrot -lcrypt src/null_config.o > > compilers/imcc/main.o: In function `imcc_version': > > /home/gbacon/src/parrot/compilers/imcc/main.c:124: undefined reference to > > `_Parrot_revision' > > /home/gbacon/src/parrot/compilers/imcc/main.c:128: undefined reference to > > `_Parrot_config_revision' > > compilers/imcc/main.o: In function `main': > > /home/gbacon/src/parrot/compilers/imcc/main.c:475: undefined reference to > > `_imcc_init' > These ones surprise me a bit. I'll have to have a poke around at where > these are exported from and how they are (or maybe aren't) decorated. > > > /home/gbacon/src/parrot/compilers/imcc/main.c:500: undefined reference to > > `_yyin' > > /home/gbacon/src/parrot/compilers/imcc/main.c:510: undefined reference to > > `_yyin' > > /home/gbacon/src/parrot/compilers/imcc/main.c:510: undefined reference to > > `_yyin' > > /home/gbacon/src/parrot/compilers/imcc/main.c:557: undefined reference to > > `_yyin' > > /home/gbacon/src/parrot/compilers/imcc/main.c:585: undefined reference to > > `_yyin' > > compilers/imcc/main.o:/home/gbacon/src/parrot/compilers/imcc/main.c:596: > > more undefined references to `_yyin' follow > These however suggest that the .def file is maybe being ignored. Which > is...odd. > > > Info: resolving _yydebug by linking to __imp__yydebug (auto-import) > > Info: resolving _line by linking to __imp__line (auto-import) > This is good to see. >
Strange, my version of cygwin links, but pops up a Windows dialog box with the first unresolved symbol when run. Same ultimate problem though. Out of interest, given that cygwin can export all symbols or just specified ones, does anyone have any strong feelings which it should do? It looks like it's possible to remove the sym_export/sym_import hints to complete the build. Unless someone wants this done urgently, it might be worth holding back so that we can see symbols that might otherwise be missed. Nick