[Top][All Lists]

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

Re: [Tinycc-devel] Compiling qemu-0.8.2 with tcc (yes, I am insane).

From: veritosproject
Subject: Re: [Tinycc-devel] Compiling qemu-0.8.2 with tcc (yes, I am insane).
Date: Sun, 8 Oct 2006 21:02:45 -0700

I hacked it to run on x86-64 by taking the comparison options out for
target and replacing that witha generic "fill this with x86" stuff.
of course, it generates 32-bit code, but...

On 10/8/06, Rob Landley <address@hidden> wrote:
  cd qemu-0.8.2
  ./configure --cc=tcc --host-cc=tcc

It dies on the first file, with;
  block.c:719: cannot cast 'int' to 'struct <anonymous>'

Line 719 of block.c is:
        size = lseek(fd, 0, SEEK_END);

And size is int64_t.

Apparently, it doesn't like assigning an int to an int64_t?  I thought it was

Also, now that I have my shiny new x86-64 system sitting in the corner waiting
for me to finish configuring it: how would one go about adding an x86-64
target to tcc?

I have no _idea_ what I'm doing.  I just don't let it stop me. :)

Never bet against the cheap plastic solution.

Tinycc-devel mailing list

reply via email to

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