This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crosstest cannot make check on glibc with cross-compling=no?


Hi,

I've already build a cygwin to fedora toolchain using
crosstool sucessfully. (specifically using:
 eval `cat i686.dat
gcc-3.4.3-glibc-2.3.5-hdrs-2.6.11.2.dat` sh all.sh)

I've been trying to test the toolchain using crosstest
for the past week or so and I've run into an issue. It
seems that crosstool always fails when running the
command:
REMOTE_TOP=
make -n check cross-compiling=no
run-program-prefix=xyzzy > make.out

with a message: 
make[2]: *** No rule to make target
`/cygdrive/d/home/xzw0wf/crosstool-0.37/build/i686-unknown-linux-gnu/gcc-3.4.3-glibc-2.3.5/build-glibc/csu/tst-empty.out',
needed by `tests'.  Stop.
make[1]: *** [csu/tests] Error 2
make: *** [check] Error 2


I've traced it to the fact that my system does not
like cross-compling option set to no. I've removed the
option and make check does complete successfully.
However, the script bombs out farther down because
TESTPROGRAMS is empty. I assume that this a due to the
fact that make.out does not have the proper text in it
as a result of changing the option. In fact, more
specifically, tests.out ends up empty because there is
no tests-gencat.sh in the make.out, and the line: sed
'1,/test-gencat.sh/d' ends up deleting everything in
the file.

Has anyone else seen a similar problem to this?
Rebuilt the entire environment from the ground up
still get the same results. 

If someone could explain what setting the
cross-compiling option to no does, that could at least
help. I assume it means that I compile for the local
system rather than for a remote one. If thats the
case, why would should compiling locally fail? 

Thanks again for any help as I'm pretty well stuck.

J



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]