Thanks, Graham - I'll do that next if what I'm doing doesn't work...

Yes, it was a ARMEL target.  I did create a simple program and compiled it
using gcc - worked fine.  I'm not re-installing the packages.  At the very
least, I'll have real knowledge of the scratchbox after all this...

Nick.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Graham Cobb
Sent: Wednesday, July 23, 2008 12:18
To: maemo-users@maemo.org
Subject: Re: Hello World Example Fails

On Wednesday 23 July 2008 18:53:36 Dr. Nicholas Shaw wrote:
> Ok, I DO have scratchbox up-and-running.  Following the installdoc to test
> the new target, everything works up to generating the configure scripts,
> configuring the program, and generating its Makefile.  It goes well until
> the step "checking whether the C compiler works..."  There I get an error,
> "error: cannot run C compiled programs."

You might want to ask on the maemo-developers list -- more developers there.

Is this an ARMEL target or an I386 target?  There are sometimes some 
scratchbox problems with getting the armel targets to actually run armel 
programs (which is what scratchbox is all about, of course).  Most often 
problems with not having scratchbox installed properly but, sometimes, bugs 
in scratchbox, libc, etc.

configure should have created a config.log which might contain an error 
message.  You can also try creating a trivial C program, compiling it and 
running it yourself to see if it works.  The program configure uses is 
(essentially):

int
main ()
{

  ;
  return 0;
}

Graham
_______________________________________________
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users

_______________________________________________
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users

Reply via email to