Hi folks. I’m a bit new to this so
please forgive any stupid questions.
I’ve decided to try and build
gcc-4.0.2 on my cygwin setup, first I discovered that I didn’t install
all the components that I need. I’m fixing that but I also got some
messages that make me worry that I may not have my environment setup correctly
as well. They are;
BINUTILS_EXTRA_CONFIG not set, so not
passing any extra options to binutils' configure script
GLIBC_EXTRA_CONFIG not set, so not passing
any extra options to glibc's configure script
GLIBC_EXTRA_ENV not set, so not passing
any extra environment variables to glibc's configure script
GLIBC_EXTRA_CC_ARGS not set, so not
passing any extra options to gcc when building glibc
EXTRA_TARGET_CFLAGS not set, so not
passing any extra cflags to gcc when building glibc
USE_SYSROOT not set, so not configuring
with --with-sysroot
GCC_BUILD not set, assuming BUILD=output
of config.guess
GCC_HOST not set, assuming HOST=BUILD
SHARED_MODE not set, so defaulting to
--enable-shared
GLIBC_ADDON_OPTIONS not set, so guessing
addons from GLIBCTHREADS_FILENAME and GLIBCCRYPT_FILENAME
Are the defaults generally OK or should I
be paying more attention to the setting of these vars? Any comments
appreciated.
From:
[ On Behalf Of Frank Pagliughi
Sent: Tuesday, May 02, 2006 10:34
AM
To:
Subject: [ts-7000] gcc 4.x cross
compiler
Hey all,
I just uploaded scripts to compile gcc-4.0.2 using the latest
crosstools-0.42. I've successfully built C, C++, Java, and gdb on both
Linux (FC4) and cygwin.
I matched glibc and Linux headers to what were already on the board
(glibc-2.3.2 & linux-2.4.26). I was also able to build this compiler
version against the default Linux 2.6.15 kernel and with different
versions of glibc.
Just download crosstools-0.42 tarball from kegel.com/crosstool, unpack
it, then untar the scripts I provided into the same directory. Then
just run "arm9tdmi.sh"
I built it on several host systems, but the latest FC5 wouldn't build
Java. If I removed "java" from arm9tdmi.sh it built everything else
ok.
This version of gdbserver is also compatible with the latest
Insight-0.64, which I was able to build under Linux (but not cygwin -
yet). You can get that from sourceware.org/insight.
I've tested the C & C++ compilers, but not Java yet. Everything seems
to work well, but I am unable to debug pthreads. When I create a new
thread the debugger doesn't see it, and if I set a breakpoint in the
thread I get a SIGTRAP and the debugger stops working.
If anyone knows how to get this working, please let me know. Thanks
I'll try to post the prebuilt chains somewhere within the next few days.
Frank Pagliughi
SPONSORED LINKS
YAHOO! GROUPS LINKS
- Visit your group "ts-7000" on the web.
- To unsubscribe from this group, send an email to:
=Unsubscribe
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.