[Yhc] Re: Build error, when no C compiler
ndmitchell at gmail.com
Thu Aug 17 10:03:37 EDT 2006
Next point, scons build yhc also requires the C compiler, which is
unfortunate because what I really want is yhc, not yhi. I realise its
a slightly obscure request, but any chance?
Catch is going to depend on yhc, not yhi, so this would be useful for Catch.
On 8/17/06, Neil Mitchell <ndmitchell at gmail.com> wrote:
> At home now, of course with no Visual Studio, and as a result:
> scons: Reading SConscript files ...
> Checking for architecture... Windows implies x86
> Checking for operating system... win32
> Checking for Scons binary... "C:\Python24\scons.bat"
> Checking for Darcs binary... "c:\bin\darcs.exe"
> Checking for Darcs version... Found version 1.0.7 (release)
> Checking for Subversion binary... "C:\Program Files\Subversion\bin\svn.exe"
> Checking for Subversion version... Found version 1.3.2.
> Checking for GHC binary... "C:\ghc\ghc-6.4.2\bin\ghc.exe"
> Checking for GHC version 6.4.1 or later... Found version 6.4.2.
> Checking whether byte ordering is bigendian... failed
> Checking size of char... failed
> Checking size of short... failed
> Checking size of int... failed
> Checking size of long... failed
> Checking size of long long... failed
> Checking size of float... failed
> Checking size of double... failed
> Checking size of void*... failed
> Checking for pthread_create() in C library pthread... no
> Generating config.h with the following settings:
> WORDS_BIGENDIAN None
> HAVE_LIBPTHREAD 0
> SIZEOF_LONG_LONG None
> SIZEOF_LONG None
> WIN32 1
> SIZEOF_VOIDP None
> SIZEOF_CHAR None
> SIZEOF_DOUBLE None
> SIZEOF_FLOAT None
> SIZEOF_INT None
> HAVE_GCC_LABELS 0
> SIZEOF_SHORT None
> TypeError: int argument required:
> File "SConstruct", line 38:
> configure(env, Configure, ARGUMENTS) # Configure
> File "C:\Neil\yhc-devel\build\configure.py", line 97:
> config_h_build('config.h', 'config.h.new.in', vals)
> File "C:\Neil\yhc-devel\build\config_h.py", line 21:
> text = config_h_in.read() % defines
> I guess we should check for a C compiler first.
> Just for note, I'll probably try installing gcc rather than Visual
> Studio (in fact gcc might already be installed here) - will gcc +
> Windows work at all?
More information about the Yhc