linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Kegel <dank@kegel.com>
To: Mark Hatle <fray@mvista.com>
Cc: C Doyle <cdoyle35@hotmail.com>,
	libusb-devel@lists.sourceforge.net,
	linuxppc-embedded@lists.linuxppc.org
Subject: Re: libusb harhat/eldk cross-compile problems
Date: Thu, 21 Aug 2003 18:28:36 -0700	[thread overview]
Message-ID: <3F4571C4.4090900@kegel.com> (raw)
In-Reply-To: <3F452F86.2050004@mvista.com>


Mark Hatle wrote:
> C Doyle wrote:
>>    I'm trying to get the libusb to cross compile ...
>>
>> checking size of char... configure: error: can not run test program while
>> cross compiling
>
> You will need to override the configure step for figuring out things via
> compilation and running.
>
> You will need to look at the configure script and see if you can
> override the sizeof char.  (Similarly to how you overrode
> ac_cv_func_setvbuf_reversed on the command line.)
>
> If that is not possible, you will have to hack "configure" with the hard
> coded value.  (To do it "right" you should modify configure.in, then run
> autoconf.  However, that doesn't always work.)

Also, that particular problem is solved by newer versions
of autoconf, so in the best of all possible worlds, you
just need to have autoconf-2.53 or later installed,
and type
   autoconf
before running configure.   That only works sometimes, though,
since configure.in sometimes needs to be fixed a little bit to
work with the new autoconf.
- Dan


--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2003-08-22  1:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Law10-F1011bpqRbwXQ0004bf26@hotmail.com>
2003-08-21 20:45 ` libusb harhat/eldk cross-compile problems Mark Hatle
2003-08-22  1:28   ` Dan Kegel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F4571C4.4090900@kegel.com \
    --to=dank@kegel.com \
    --cc=cdoyle35@hotmail.com \
    --cc=fray@mvista.com \
    --cc=libusb-devel@lists.sourceforge.net \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).