This is the mail archive of the mailing list for the frysk project.

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

bi-arch test patch for 64-bit frysk


On PPC64, all applications are compiled into 32-bit mode by default if
the compiling option "-m64" isn't explicitly given, which means most
applications running on PPC64 are in 32-bit mode.  So it's necessary for
64-bit frysk to debug 32-bit applications on PPC64. 

Currently, funit(in frysk-core/frysk/pkglibexecdir/) should be build in
64-bit mode, since it is dependent on other 64-bit frysk libraries, such
as libfrysk-core.a.  In order to build other test cases in 32-bit mode
without breaking the 64-bit funit, one rule in is added.
That is to say, we remove all existent test cases(64-bit) except funit,
and rebuild them in 32-bit mode.  All these 32-bit test cases could be
run via TestRunner.

On X86_64, although applications are compiled in 64-bit mode by default,
it's also necessary to do bi-arch test.  The modifications will be
useful to 64-bit frysk on X86_64.

Among the frysk's five main sub-directories, frysk-gtk, frsyk-gui,
frysk-import and frysk-sys needn't do the bi-arch tests for their less
arch-dependence.  So no rules are added for them. If someone thinks it's
also necessary, we'd like to add rules for them.

Please review, and any comments are welcome!

2006-08-24  Yong Zheng  <>

	* frysk-core/ Add support for compiling 32bit

Best regards
Yong Zheng

Index: frysk-core/
RCS file: /cvs/frysk/frysk-core/,v
retrieving revision 1.61
diff -u -r1.61
--- frysk-core/	17 Aug 2006 01:54:27 -0000	1.61
+++ frysk-core/	24 Aug 2006 07:24:18 -0000
@@ -120,3 +120,7 @@
 .PHONY: installcheck-funit
+	-rm -fr frysk/pkglibexecdir/funit-*
+	$(MAKE) $(pkglibexec_PROGRAMS) CC="gcc -m32" CCAS="gcc -m32" CXX="g++ -m32"

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