tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Compiling for Windows 32 Executable


From: Kate Stedman
Subject: [Tinycc-devel] Compiling for Windows 32 Executable
Date: Tue, 3 Jul 2012 15:20:48 +0000

Forgive me if this is too trivial or has been posted before but I’m going cross-eyed searching Google.

 

I am trying to create a Windows 32 executable using the TinyCC compiler. My code is split across 34 small .c files and I want to compile and link it to run in a command prompt in Windows.

 

I am trying to invoke tcc from the command line :

 

C:>tcc\tcc -r SOURCE\*.c -o DOWNLOAD\VMonitor.exe –v

 

(tcc version 0.9.25)

 

The output .exe is not a Win32 executable file beginning with a so-called "MZ" header, followed by a so-called "PE" header – it seems to be an .elf file format. I have used this compiler with a single .c file creating a Windows 32 format executable before with success.

 

What have I done wrong and what is the solution if there is one ?

 

Thank you

Regards

kates

 

 

 

 




This Email and any attachments may contain confidential and privileged information for the use of the designated recipients named above only. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its content is prohibited. If you have received this communication in error, please reply to the sender immediately and destroy all copies of this communication and any attachments.

Registered in England No. 02074604.
Registered Office. Vislink International Limited, Marlborough House, Charnham Lane, Hungerford, Berkshire RG17 OEY.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]