[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Strange issue with 64bit section offsets

From: grischka
Subject: Re: [Tinycc-devel] Strange issue with 64bit section offsets
Date: Sat, 03 Mar 2012 23:11:26 +0100
User-agent: Thunderbird (Windows/20100228)

Andrew Mulbrook wrote:
I'm guessing I broke the linux cross-compiler for Win64? If I enable cross-compilers on Win64 host, tccrun breaks for me now. Adding the TCC_TARGET_X86_64 and TCC_TARGET_PE requirement to the win64_add_function_table allows compilation to finish. Would the proper fix then gaurding on all 3 of TCC_TARGET_X86, TCC_TARGET_PE, and _WIN64?

For a cross-compiler there are no proper fixes for tccrun.  Properly,
everything related to tccrun should be omitted unless it is a native

There is some nativeness detection intelligence in tccpe.c:

  #if defined _WIN32 && (defined _WIN64) == (defined TCC_TARGET_X86_64)
  #define TCC_IS_NATIVE

--- grischka

reply via email to

[Prev in Thread] Current Thread [Next in Thread]