Yan Seiner wrote:
arm-linux-gcc main_nx.c -I../Lib -I../../microwin/src/include
-I/home/local/panel/arm//ts7300-deb/usr/include
-L/home/local/panel/arm//ts7300-deb/lib
-L/home/local/panel/arm//ts7300-deb/usr/lib
Lets assume the 'libc.so' script being in the
'/home/local/panel/arm//ts7300-deb/usr/lib',
then simply edit it to NOT have those stupidities:
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld:
skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld:
cannot find /lib/libc.so.6
caused by the insanities of crosstool! Cannot guess what kind of mess
the result really is :-(
It was an attempt born of frustration. All this worked fine on my
old, hacked up, and barely maintainable prototype system. Now that
I've ported it to Debian and have a nice package management system
this little bit of code refuses to build.....
Maybe you should consider producing a totally "normal" crosscompiler
for Debian/ARM.... One which uses the tested Debian
glibc, termcap, ncurses, Gnome, KDE etc. libraries for Debian/ARM !