run tiny_impdef.exe advapi32.dll
copy advapi32.def file to folder lib
tcc.exe example.c -ladvapi32


2010/8/9 ED GROSSHEIM <[email protected]>:
> Hi,
> When I compile with tcc, I get the errors:
>
> ::tcc: undefined symbol '_regopenkey...@20'
> ::tcc: undefined symbol '_regclose...@4'
> ::tcc: undefined symbol '_regcreatekey...@36'
> ::tcc: undefined symbol '_regsetvalue...@24'
> ::tcc: undefined symbol '_regdeletek...@8'
>
> I really have no clue. I have the #include <winreg.h>, I do not even have
> any warnings when I compile in Pelles C, but of course now I would like to
> get the size of my executable down using tcc.exe.
>
> I have success compiling the same program, if it does not write the registry
> first.
>
> Is there anything obvious?
>
> Thanks, Ed
>
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
>

_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to