cl

Platform Builder command line building question

I'm building a project from command line , using WinCE platform builder , and I need RTTI to be enabled , so that my project works correctly . I tried setting the option RTTI="YES" in the sources and in the makefile of each dir , and I also tried to add it at the end of CDEFINES , but when I try to build the project , I get the D9025 w...

iSeries - Call SQL stored procedure from CL program

How can I run a stored procedure from a CL program? RUNSQLSTM requires a source member, but I just want to build a command so users can pass in variables easily, so this won't work. ...

How can I access the name of a current library in a CL program?

I need to use the current library name explicitly in a CL program. CHGVAR &LIB *CURLIB doesn't work (after this line &lib = '*curlib'). This should be simple - any ideas? ...

Is there an equivalent to the iSeries OVRDBF command in SQL?

I have a requirement in a SQL environment that under specific circumstances, all references to table (or view) A in a procedure actually use table (or view) B. On the iSeries I would have used the OVRDBF command to override references to table A with table B: OVRDBF FILE(A) TOFILE(B). What would be the equivalent to this in SQL? Is th...

Connecting to SQL Server with CL-SQL via unixODBC/FreeTDS

I've managed to connect from SBCL running on debian to an SQL Server 2000 instance over the network using FreeTDS/unixODBC. I can actually get data back from the server, so all is working. However, many of the columns trigger what seem to be unsupported data types a-la: The value 2147483647 is not of type FIXNUM. and -11 fell throu...

How do I add a static dependency to a dll (advapi32.dll) from the cl.exe command line?

I'm sure there's something simple I'm missing. I'm running from the Visual Studio Command Prompt. ...

Trying to compile with cl.exe

Sorry if this is a simple question, I don't do much programming in Windows. I have Visual Studio installed but when I try to execute "cl" from the command line it tells me it's not recognized as a command! How do I get cl? ...

What's the equivalent of gcc's -mwindows option for cl in windows?

cl : Command line warning D9002 : ignoring unknown option '-mwindows' Seems -mwindows is only for gcc, does cl has a similar option? ...

cl.exe (MS Visual C++) seem to wrongly send compile tome errors to stdout instead of stderr

It seems as if cl.exe would wrongly send the compiler errors to stdout instead of stderr. This behavior seems to be a bug and the only workaround (I could think of) it to redirect stderr and stdout but this makes is impossible to monitor the compile progress. Is this a bug? Are there any workarounds? ...