[M3devel] C compilation on Windows fails
Olaf Wagner
wagner at elegosoft.com
Thu Jul 30 09:54:22 CEST 2009
Quoting Jay K <jay.krell at cornell.edu>:
> Peel the onion.
> cl
>
> Should print a banner and very short usage.
> If that works:
>
> echo.> foo.c
> cl -c foo.c
> echo %errorlevel%
>
> If that works:
>
> echo int main(){return 0;}> foo.c
> cl foo.c
> echo %errorlevel%
> .\foo.exe
>
> If that works, take a big step:
>
> cd wherever\m3-libs\m3core\NT386
> cl -nologo -c ..\src\Csupport\Common\hand.c
> If that fails for lack of -I switches, add them as necessary.
> Add back the other switches. They are all reliable.
OK. Will try that tonight (in about 10 hours -- just arrived at work)...
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list