delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/09/14:41:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-UNTD-OriginStamp: shnglaIgDAhVwDO3x7gA1e27YMYDo+aCVo3xtlqkfipmy90LEJcedw==
X-Originating-IP: [169.144.118.138]
Mime-Version: 1.0
From: "Alexander Povolotsky" <pevnev AT juno DOT com>
Date: Thu, 9 Sep 2004 18:38:44 GMT
To: cygwin AT cygwin DOT com
Subject: crosscompiling lmbench-3.0-a4 for PPC on cygwin - the first shot ...
Message-Id: <20040909.113949.3885.745577@webmail23.lax.untd.com>
X-ContentStamp: 16:8:1807609496
X-MAIL-INFO: 22354520f589b920793d14858505650151196029518001c0
Note-from-DJ: This may be spam

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 AT 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 AT 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019