cross compile problem

2009-02-14 Thread Oguz Yarimtepe
Hi i had an error while cross compiling a library at my Ubuntu Hardy system for sh4-linux system. Here is how i compiled. First i defined some environmental variables[1]. Then ran the command[2], but i got error[3] related with jpeg. libjpeg.so is in the path of LDFLAGS but still during the make

Re: Cross compile problem.

2000-07-19 Thread Akim Demaille
| On Wed, 12 Jul 2000, Peter Eisentraut wrote: | > Alexandre Oliva writes: | > | > > > What about systems that don't have a `cc' but only a `gcc' or whatever | > > > else? | > > | > > The user would have to set CC_FOR_BUILD. But see below: | > > | > > >> In the future, it may be extended to l

Re: Cross compile problem.

2000-07-12 Thread Mo DeJong
On Wed, 12 Jul 2000, Peter Eisentraut wrote: > Alexandre Oliva writes: > > > > What about systems that don't have a `cc' but only a `gcc' or whatever > > > else? > > > > The user would have to set CC_FOR_BUILD. But see below: > > > > >> In the future, it may be extended to look for gcc if it

Re: Cross compile problem.

2000-07-12 Thread Peter Eisentraut
Alexandre Oliva writes: > > What about systems that don't have a `cc' but only a `gcc' or whatever > > else? > > The user would have to set CC_FOR_BUILD. But see below: > > >> In the future, it may be extended to look for gcc if it can't find > >> cc. But that would break things for a lot of

Re: Cross compile problem.

2000-07-11 Thread Alexandre Oliva
On Jul 11, 2000, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > Alexandre Oliva writes: >> How about just AC_SH_UNSETting CC before running config.guess? Then, >> config.guess would do its thing with `cc', that is supposed not to be >> a cross compiler. > What about systems that don't have a `

Re: Cross compile problem.

2000-07-11 Thread Peter Eisentraut
Alexandre Oliva writes: > How about just AC_SH_UNSETting CC before running config.guess? Then, > config.guess would do its thing with `cc', that is supposed not to be > a cross compiler. In the future, it may be extended to look for gcc > if it can't find cc. What about systems that don't have

Re: Cross compile problem.

2000-07-10 Thread Mo DeJong
On 10 Jul 2000, Akim Demaille wrote: > > "Mo" == Mo DeJong <[EMAIL PROTECTED]> writes: > > Mo> I took a peek at the config.guess and found this. > > See http://sources.redhat.com/ml/autoconf/2000-04/msg00097.html and > following :) We should keep a "confusion tally" for sections of the cod

Re: Cross compile problem.

2000-07-10 Thread Alexandre Oliva
On Jul 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Jul 9, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: >>> My real question is, why do I need to do this? If autoconf knows >>> that it is cross compiling then it s

Re: Cross compile problem.

2000-07-10 Thread Akim Demaille
> "Mo" == Mo DeJong <[EMAIL PROTECTED]> writes: Mo> I took a peek at the config.guess and found this. See http://sources.redhat.com/ml/autoconf/2000-04/msg00097.html and following :)

Re: Cross compile problem.

2000-07-10 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Jul 9, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: >> My real question is, why do I need to do this? If autoconf knows >> that it is cross compiling then it should know to set the HOST_CC >> (or BUILD_CC) to gcc or cc.

Re: Cross compile problem.

2000-07-09 Thread Alexandre Oliva
On Jul 9, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > My real question is, why do I need to do this? If autoconf > knows that it is cross compiling then it should know to > set the HOST_CC (or BUILD_CC) to gcc or cc. How about just AC_SH_UNSETting CC before running config.guess? Then, config.

Re: Cross compile problem.

2000-07-09 Thread Alexandre Oliva
On Jul 9, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > So config.guess is getting messed up because it is trying to use my > cross compiler to figure out the build system type. I had told you this would happen in some cases. In such cases, you have to explicitly specify --build. > I think thi

Cross compile problem.

2000-07-08 Thread Mo DeJong
I just ran into an error when using the --host=XTRIPLE argument. I am trying to cross compile with libtool, and it is really broken to say the least. I tried to work around it by setting CC to my cross compiler before running ./configure. setenv CC i386-mingw32msvc-gcc ./configure --host=i386-mi