[M3devel] m3core build failure
Jay K
jay.krell at cornell.edu
Fri May 21 06:44:25 CEST 2010
Oops, it should be include_dir.
32BITS is deliberate -- 32bits has a 32bit long, 64bits has a 64bit long, all Win32 platforms, 32bit or 64bit, have a 32bit long.
We really should just not have long anywhere, but that might be difficult to achieve.
The often purported portable meaning of "long", that is a pointer-sized, is false.
The pointer sized integers are INTEGER and Word.T, not "long".
- Jay
________________________________
> From: rcolebur at SCIRES.COM
> To: m3devel at elegosoft.com
> Date: Fri, 21 May 2010 00:26:38 -0400
> Subject: [M3devel] m3core build failure
>
>
>
>
>
>
>
>
>
>
>
>
> I am getting a build error on Windows for m3core in HEAD branch:
>
>
>
>
>
> "C:\cm3\Sandbox\m3-libs\m3core\src\C\m3makefile", line 14: quake runtime error:
>
>
> unable to open "C:\cm3\Sandbox\m3-libs\m3core\src\C\32BITS" for reading
>
>
>
>
>
> Suspect the if equal(OS_TYPE, "WIN32") include ("32BITS") is the problem. Shouldn’t this be “NT386” instead of “WIN32”?
>
>
>
>
>
> Here is offending m3makefile:
>
>
>
>
>
> C:\cm3\Sandbox\m3-libs\m3core\src\C>type m3makefile
>
>
> % Copyright (C) 1992, Digital Equipment Corporation
>
>
> % All rights reserved.
>
>
> % See the file COPYRIGHT for a full description.
>
>
> %
>
>
> % Last modified on Fri Aug 13 10:38:35 PDT 1993 by kalsow
>
>
> % modified on Wed Jun 9 17:25:51 PDT 1993 by harrison
>
>
> % modified on Thu May 6 12:11:46 PDT 1993 by muller
>
>
> % modified on Wed May 5 11:53:58 PDT 1993 by mjordan
>
>
>
>
>
> include_dir ("Common")
>
>
> include_dir (TARGET)
>
>
> if equal(OS_TYPE, "WIN32")
>
>
> % long is 32bits even on 64bit Windows
>
>
> include("32BITS")
>
>
> else
>
>
> include_dir (WORD_SIZE)
>
>
> end
>
>
>
>
>
> Regards,
>
>
> Randy
>
>
>
>
> ________________________________
>
> CONFIDENTIALITY NOTICE: This email and any attachments are intended solely for the use of the named recipient(s). This email may contain confidential and/or proprietary information of Scientific Research Corporation.
> If you are not a named recipient, you are prohibited from reviewing, copying, using, disclosing or distributing to others the information in this email and attachments. If you believe you have received this email in error, please notify the sender immediately
> and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments.
>
>
>
> EXPORT COMPLIANCE NOTICE: This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). Export or transfer of this technical
> data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require advance export authorization by the appropriate U.S. Government agency prior to export or transfer. In addition, technical data
> may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization. By accepting this email and any attachments, all recipients confirm that they understand and will
> comply with all applicable ITAR, EAR and embargo compliance requirements.
>
More information about the M3devel
mailing list