On Mon, 2008-07-21 at 15:57 +0200, Gilles Carry wrote: > Hi, > > When compiling powerpc binaries, gcc defaults to 32 bit. > To do some tests I needed to have a 64 bit binary. > Since I'm using realtime, I modified config.mk as below. > My questions: is there any official way to turn LTP in 64bit? > If not, what shall we do then? Should LTP default to 32 or native-arch bit?
It should default to native-arch bit. I hope the Makefile(s) take care of that stuff automatically. > Shall we use something like: "if (uname -m) ..." or use a command line > option? > Any comment? > > Gilles. > > > diff --git a/testcases/realtime/config.mk b/testcases/realtime/config.mk > index 19ccddc..083db58 100644 > --- a/testcases/realtime/config.mk > +++ b/testcases/realtime/config.mk > @@ -23,3 +23,4 @@ LDLIBS += $(srcdir)/lib/libjvmsim.o \ > $(srcdir)/lib/libstats.o \ > -lpthread -lrt -lm > > +CFLAGS += -m64 > Since, this patch is involving RT tests, i would like to have a word from Darren 7 others. Regards-- Subrata > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
