[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Trying to compile c program that writes registry key
From: |
Timo Lähde |
Subject: |
Re: [Tinycc-devel] Trying to compile c program that writes registry key then starts a .cmd file with createprocess (that is it). Compiles fine with PellesC. |
Date: |
Mon, 9 Aug 2010 08:19:34 +0300 |
run tiny_impdef.exe advapi32.dll
copy advapi32.def file to folder lib
tcc.exe example.c -ladvapi32
2010/8/9 ED GROSSHEIM <address@hidden>:
> Hi,
> When I compile with tcc, I get the errors:
>
> ::tcc: undefined symbol 'address@hidden'
> ::tcc: undefined symbol 'address@hidden'
> ::tcc: undefined symbol 'address@hidden'
> ::tcc: undefined symbol 'address@hidden'
> ::tcc: undefined symbol 'address@hidden'
>
> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
>