On 12/20/2010 04:55 PM, Lauri T. Aarnio wrote:
On Dec 18, 2010, at 2:52 PM, ext Michael Trimarchi wrote:
Hi
I have problem in compiling libtool, this is the patch that I have applied
It seems that something else is wrong in your environment, if you need that patch (which
enables "--host=" option when libtool is configured).
tried it; libtool is still ok here even without the patch (we don't use that feature
anymore. instead, sb2-init is now practically always executed with "-n" here)
If the --host option is not used, then "configure" will try to guess a canonical system
name by running gonfig.guess, and that probably fails in your system. Can you please try to run it
manually ("sb2 sh -x config.guess") and send the output to me?
Lauri
Without my fix:
sb2-init -c qemu-arm ARM
/home/michael/lavoro/penguin/alitec/buildroot-tunnellink/output/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
Info: Mapping mode not specified, using default (simple)
Using
/home/michael/lavoro/penguin/alitec/buildroot-tunnellink/output/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
to detect target architecture:
Finished writing sb2.gcc.config
gcc configured.
sb2-init: Target architecture is 'arm'
sb2-init: Host architecture is 'i[3456]86'
Finished writing sb2.config
sb2-init: Creating Debian build system settings for this target:
dpkg-architecture: warning: Unknown gcc system type
arm-unknown-linux-uclibcgnueabi, falling back to default (native compilation)
dpkg-architecture: warning: Unknown gcc system type
arm-unknown-linux-uclibcgnueabi, falling back to default (native compilation)
sb2-init: configuring libtool for this target:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
Ok, I understand what happen and this fix is not so good.
Michael Trimarchi
_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel