This is the mail archive of the cygwin mailing list for the Cygwin 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]

crosscompiling lmbench-3.0-a4 for PPC on cygwin - the first shot ...


Dan Kegel wrote:
Alex Povolotsky wrote:
> Hi Dan,
> 
> Thanks for replying !
> 
> I have not downloaded the lmbench source code yet - but 
> let me clarify - from your answer - I assume in the lmbench there 
> will be some means (in the makefile or configure file) to set cross-
> compiling (I am using cygwin on intel laptop > running Windows XP) 
> for Linux on PPC platform ?

Yes, but it might be painful.  I seem to recall
I had to read his scripts for an hour or two
before I understood I could throw them away and just
run individual programs.

> Have you done it yourself (or anyone else you know) ?

Yes.

> Did it require any lmbench code modifications ?

I don't recall.  Give it a shot and see what happens.
-- 
My technical stuff: http://kegel.com
*******************************************

So here is the first shot ;-) ... - keeping the scripts in tact so far  - it would be nice to be able to cross-compile with minimum changes versus original source distribution of course ....
I am also attaching saved strace output for below make execution - if someone is willing to examine it ...

Thanks,
Alex

apovolot@USPITLAD104868 ~/lmbench/lmbench-3.0-a4/src
$ make CC=powerpc-linux-gcc lmbench
mkdir: cannot create directory `../bin/`../scripts/os`': No such file or directory
************* 
*************
  Comment from Alex (see further output after my comment):
 ../bin and ../script/os do exist:

apovolot@USPITLAD104868 ~/lmbench/lmbench-3.0-a4/src
$ ls -l ..
total 43
-r--r--r--    1 apovolot mkgroup-     1779 Aug 10 06:43 ACKNOWLEDGEMENT
drwxr-xr-x+   6 apovolot mkgroup-        0 Aug 10 06:43 BitKeeper
-r--r--r--    1 apovolot mkgroup-     3695 Aug 10 06:43 CHANGES
-r--r--r--    1 apovolot mkgroup-    17982 Aug 10 06:43 COPYING
-r--r--r--    1 apovolot mkgroup-     5728 Aug 10 06:43 COPYING-2
-r--r--r--    1 apovolot mkgroup-     1607 Aug 10 06:43 Makefile
-r--r--r--    1 apovolot mkgroup-      561 Aug 10 06:43 README
drwxr-xr-x+   2 apovolot mkgroup-        0 Aug 10 06:43 SCCS
drwxrwxrwx+   3 apovolot mkgroup-        0 Sep  9 10:51 bin
drwxr-xr-x+   3 apovolot mkgroup-        0 Aug 10 06:43 doc
-r--r--r--    1 apovolot mkgroup-     9935 Aug 10 06:43 hbench-REBUTTAL
drwxr-xr-x+   3 apovolot mkgroup-        0 Aug 10 06:43 results
drwxrwxrwx+   3 apovolot mkgroup-        0 Sep  9 11:17 scripts
drwxr-xr-x+   3 apovolot mkgroup-        0 Sep  9 11:23 src

apovolot@USPITLAD104868 ~/lmbench/lmbench-3.0-a4/src
$ ls -l ../scripts/os
-rwxrwxrwx    1 apovolot mkgroup-      397 Sep  9 11:17 ../scripts/os

***************
****************

make[1]: Entering directory `/cygdrive/d/Profiles/apovolot/lmbench/lmbench-3.0-a4/src'
powerpc-linux-gcc -O -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_DRAND48   -c
 lib_tcp.c -o ../bin/`../scripts/os`/lib_tcp.o
Assembler messages:
FATAL: can't create ../bin/`../scripts/os`/lib_tcp.o: No such file or directory
make[1]: *** [../bin/`../scripts/os`/lib_tcp.o] Error 1
make[1]: Leaving directory `/cygdrive/d/Profiles/apovolot/lmbench/lmbench-3.0-a4/src'
make: *** [lmbench] Error 2


________________________________________________________________
Get your name as your email address.
Includes spam protection, 1GB storage, no ads and more
Only $1.99/ month - visit http://www.mysite.com/name today!

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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