Re: Not able to cross-compile curl for ARM uClinux

2012-12-18 Thread Bernard Evensrud
2012/12/15 Bernard Evensrud : > 2012/12/15 Bernard Evensrud : >> 2012/12/14 Daniel Stenberg : >>> On Fri, 14 Dec 2012, Bernard Evensrud wrote: >>> Also tried to compile some other small programs, both C and C++ (adding the -lstdc++ parameter of course). Compiles and runs. These programs i

Re: Not able to cross-compile curl for ARM uClinux

2012-12-15 Thread Bernard Evensrud
2012/12/15 Bernard Evensrud : > 2012/12/14 Daniel Stenberg : >> On Fri, 14 Dec 2012, Bernard Evensrud wrote: >> >>> Also tried to compile some other small programs, both C and C++ (adding >>> the -lstdc++ parameter of course). Compiles and runs. These programs is >>> compiled with make, and do not

Re: Not able to cross-compile curl for ARM uClinux

2012-12-15 Thread Bernard Evensrud
2012/12/14 Daniel Stenberg : > On Fri, 14 Dec 2012, Bernard Evensrud wrote: > >> Also tried to compile some other small programs, both C and C++ (adding >> the -lstdc++ parameter of course). Compiles and runs. These programs is >> compiled with make, and do not have any configure scripts. > > > So

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Daniel Stenberg
On Fri, 14 Dec 2012, Bernard Evensrud wrote: Can I in some way compile this manually, without running configure? The problem isn't configure - the problem is that your compiler is built to not use the basic C environment setup automatically. You can probably convince configure to go through

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Daniel Stenberg
On Fri, 14 Dec 2012, Bernard Evensrud wrote: Also tried to compile some other small programs, both C and C++ (adding the -lstdc++ parameter of course). Compiles and runs. These programs is compiled with make, and do not have any configure scripts. So save a C source file as main.c that does p

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Bernard Evensrud
2012/12/14 Dan Fandrich : > On Fri, Dec 14, 2012 at 07:20:09PM +0100, Dan Fandrich wrote: >> What OS is this embedded computer running? > > Sorry, I missed the answer to this in the message subject. But the rest > of my message still applies: if you are able to successfully compile > POSIX applicat

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Bernard Evensrud
2012/12/14 Dan Fandrich : > On Fri, Dec 14, 2012 at 07:10:54PM +0100, Bernard Evensrud wrote: >> Thanks for your input. Coming from the microcontroller world, I must >> admit this is over my head. I do not understand these error messages. >> There might be a possible fault in the toolchain? > > Tha

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Dan Fandrich
On Fri, Dec 14, 2012 at 07:20:09PM +0100, Dan Fandrich wrote: > What OS is this embedded computer running? Sorry, I missed the answer to this in the message subject. But the rest of my message still applies: if you are able to successfully compile POSIX applications with this toolchain, you shou

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Dan Fandrich
On Fri, Dec 14, 2012 at 07:10:54PM +0100, Bernard Evensrud wrote: > Thanks for your input. Coming from the microcontroller world, I must > admit this is over my head. I do not understand these error messages. > There might be a possible fault in the toolchain? That's what it looks like. It matches

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Bernard Evensrud
2012/12/14 Daniel Stenberg : > On Fri, 14 Dec 2012, Bernard Evensrud wrote: > >> Trying to run the configure script without setting any variables and >> without options other than --host=arm-elf gives this output: > > > It does appear to be somewhat broken. See the specific configure test and > its

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Daniel Stenberg
On Fri, 14 Dec 2012, Bernard Evensrud wrote: Trying to run the configure script without setting any variables and without options other than --host=arm-elf gives this output: It does appear to be somewhat broken. See the specific configure test and its failure in config.log: configure:4219

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Bernard Evensrud
2012/12/14 Guenter : > Hi Bernard, > Am 14.12.2012 08:35, schrieb Bernard Evensrud: > >> I removed the --host option as suggested. Here is the start of config.log >> file: > > can you please also do a configure run with only using --host=... and > without specifying any of the bunch of vars you did

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Bernard Evensrud
2012/12/14 Michael Wood : > Hi > > On 14 December 2012 09:35, Bernard Evensrud wrote: >>> On Thu, 13 Dec 2012, Bernard Evensrud wrote: >>> Also the error, "compiler cannot create executables", I do not understand. It does not say why it cannot... > [...] >> I removed the --host option as

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Guenter
Hi Bernard, Am 14.12.2012 08:35, schrieb Bernard Evensrud: I removed the --host option as suggested. Here is the start of config.log file: can you please also do a configure run with only using --host=... and without specifying any of the bunch of vars you did set? Gün.

Re: Not able to cross-compile curl for ARM uClinux

2012-12-14 Thread Michael Wood
Hi On 14 December 2012 09:35, Bernard Evensrud wrote: >> On Thu, 13 Dec 2012, Bernard Evensrud wrote: >> >>> Also the error, "compiler cannot create executables", I do not understand. >>> It does not say why it cannot... [...] > I removed the --host option as suggested. Here is the start of confi

Re: Not able to cross-compile curl for ARM uClinux

2012-12-13 Thread Bernard Evensrud
2012/12/13 Daniel Stenberg : > On Thu, 13 Dec 2012, Bernard Evensrud wrote: > >> Also the error, "compiler cannot create executables", I do not understand. >> It does not say why it cannot... > > > I'd say that the fact that it even tries to check that seems wrong. Since it > cross-compiles it can'

Re: Not able to cross-compile curl for ARM uClinux

2012-12-13 Thread Daniel Stenberg
On Thu, 13 Dec 2012, Bernard Evensrud wrote: Also the error, "compiler cannot create executables", I do not understand. It does not say why it cannot... I'd say that the fact that it even tries to check that seems wrong. Since it cross-compiles it can't check if the output is executable or no

Re: Not able to cross-compile curl for ARM uClinux

2012-12-13 Thread Bernard Evensrud
2012/12/13 Dan Fandrich : > On Thu, Dec 13, 2012 at 02:43:06PM +0100, Bernard Evensrud wrote: >> I am using a Ubuntu 12.10 64-bit computer, trying to compile libcurl.a >> for use in a project with embedded uClinux. >> However, I only get an error message when running .configure with >> arm-elf-gcc.

Re: Not able to cross-compile curl for ARM uClinux

2012-12-13 Thread Dan Fandrich
On Thu, Dec 13, 2012 at 02:43:06PM +0100, Bernard Evensrud wrote: > I am using a Ubuntu 12.10 64-bit computer, trying to compile libcurl.a > for use in a project with embedded uClinux. > However, I only get an error message when running .configure with > arm-elf-gcc. Compiling a native version usin