[cfe-commits] Direct execution of hello.exe creates error message
Andreas Bittel
andreas.bittel at cdn-automotive.com
Tue Jul 26 02:44:24 PDT 2011
Dear Others,
I wanted to create hello.exe like it is mentioned in
http://llvm.org/docs/GettingStartedVS.html
in step 2 second part.
The following was possible:
% clang -c hello.c -emit-llvm -o hello.bc
% lli hello.bc
"hello world" was printed.
But I did the following:
C:\Programme\LLVM>build\bin\Debug\clang -c hello.c -o hello.exe
C:\Programme\LLVM>dir
Datenträger in Laufwerk C: ist winXP
Volumeseriennummer: 9447-8005
Verzeichnis von C:\Programme\LLVM
26.07.2011 11:12 <DIR> .
26.07.2011 11:12 <DIR> ..
25.07.2011 16:12 <DIR> build
25.07.2011 14:23 632 hello.bc
25.07.2011 11:26 78 hello.c
26.07.2011 11:12 293 hello.exe
25.07.2011 14:29 274 hello.obj
22.07.2011 13:06 <DIR> llvm
25.07.2011 07:51 41.472 ProjectFileFolders_are_not_supported_in_this_version_of_application.doc
5 Datei(en) 42.749 Bytes
4 Verzeichnis(se), 25.853.767.680 Bytes frei
C:\Programme\LLVM>hello.exe
After that I received the error message (see attachment):
English translation:
16-Bit-MS-DOS-Part System
C:\WINDOWS\system32\cmd.exe - hello.exe
The NTVDM-CPU has discovered an invalid command.
CS:0ffc IP:ffc OP:0f 0f 85 01 00 Click on "close", to terminate application
Close / Ignore
What do I have to do to create a "hello.exe" which works without errors?
Tia
Kind regards
Andreas
-------------------------------------------------------------
CDN automotive AG
Dr.-Ing. Andreas Bittel
Im Gewerbepark C 27
93059 Regensburg
Tel: +49.941.646888.144
Fax: +49.941.646888.100
Mobil: +49.176 291 555 69
E-Mail: andreas.bittel at cdn-automotive.com
Website: www.cdn-automotive.com
*************************************************************
Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
*************************************************************
CDN automotive AG
Vorstand: Gitta Bremer
Vorsitzender des Aufsichtsrates: Hilmar Lesch
Sitz der Gesellschaft: Wolfratshausen
Amtsgericht Muenchen: HRB 175083
UST-ID: DE 233263317
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: English_translation_Error_Message.doc
Type: application/msword
Size: 28160 bytes
Desc: English_translation_Error_Message.doc
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110726/e58e7714/attachment.doc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT418485.txt
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110726/e58e7714/attachment.txt>
More information about the cfe-commits
mailing list