 | Discussion Forum |  |
|
|
C166INC env var for EC166Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author pr64 arx Posted 3-Oct-2008 11:01 GMT Toolset C166 |  C166INC env var for EC166 pr64 arx Hi, I'm trying to compile the C:\Keil\C166\Examples\EC++\complex\complex.cpp file from my command line.
C:\>SET C166INC=C:\KEIL\C166\INC
C:\>c:\Keil\C166\bin\EC166.EXE "c:\keil\C166\Examples\EC++\complex\COMPLEX.CPP"
EC166 EC++ COMPILER V1.07
COPYRIGHT KEIL ELEKTRONIK GmbH 2000 - 2005
"C:\\KEIL\\C166\\EXAMPLES\\EC++\\COMPLEX\\COMPLEX.CPP", line 6: error: could not
open source file "stdio.h"
#include <stdio.h>
^
Compilation terminated.
The C166INC env variable is obviously set... Thanks a lot! Pierre | | Read-Only Author Nikolay Baklanov Posted 3-Oct-2008 12:54 GMT Toolset C166 |  RE: C166INC env var for EC166 Nikolay Baklanov Hello, For EC166, use INCDIR directive like:
ec166 d:\keil353\c166\examples\ec++\complex\complex.cpp INCDIR(d:\keil353\c166\inc)
--Nikolay. | | Read-Only Author pr64 arx Posted 3-Oct-2008 13:25 GMT Toolset C166 |  RE: C166INC env var for EC166 pr64 arx Hi Nokolay, I knew this INCDIR option (extracted from a LST file) but I would like to be able to call the EC166.exe on a .cpp file without any other arg. Therefore I would like EC166 to behave like C166, ie having some args passed through env vars. Thanks anyway! Pierre | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|