delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/02/23:09:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <1.5.4.32.20000203042915.0068f848@poste.umontreal.ca>
X-Sender: krouchen AT poste DOT umontreal DOT ca
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Date: Wed, 02 Feb 2000 23:29:15 -0500
To: cygwin AT sourceware DOT cygnus DOT com
From: Nedialko Krouchev <Nedialko DOT I DOT Krouchev AT UMontreal DOT CA>
Subject: compiler for x86-VxWorks targets

I followed to the letter (patches etc. inclusive) Mumit Khan's web-hosted
step-by-step instructions on building cross compilers created on Fri Feb 19
11:56:42 1999.

In step 2, I built CROSS egcs-1.1.2 for Cygwin b20+ instead, as this is now
the current version.

However I could not quite follow the thousands of operations that were done
by configure and make and hence, I am not sure at all of the outcome.

Since the process described is supposedly Unix hosted, it's understandable
why I got a lot of errors like

        /bin/sh not found.

However, (if this is at all possible) I'd like to run the whole process on a
Windows 98 "box", and even if possible use (some of) the precompiled
binaries provided by "Cygnus".

Could you please answer the following question which will be an easy one for
you, but is as much as rocket science to me:

        What is the proper action and command sequence to build a GCC-like
compiler which:
                a) runs from the Cygwin32 prompt on a  Windows 98 "box"
                b)  produces something which can run on Intel x86-VxWorks "box' 

The latter is a configuration defined (and supposedly supported at least by
GCC) by the current "Cygnus" distribution: 
        
         Directory of C:\usr\local\src\cygwin-b20\src\gcc\config\i386
                VXI386   H             880  02-22-98  6:10p vxi386.h

Even WindRiver Systems (the maker of VxWorks) is said to have worked in
cooperation with "Cygnus".

So, how about  something simple, like compiling for VxWorks the following
"program":

/*      HELLO.C -- Hello, world */

#include <stdio.h>

int main_task()
{
        printf("Hello, world\n");
        return 0;
}

============

I tried to do it by myself (changing the "NATIVE" part of your instructions) by

...
cd /usr/local/src/egcs-1.1.2
mkdir NATIVE
cd NATIVE
sh ../configure --target=i386-wrs-vxworks -v
make > make.log 2>&1

but all I got was 

C:\USR\LOCAL\SRC\EGCS-1~1.2\NATIVE\GCC>dir *.exe

 Directory of C:\usr\local\src\egcs-1.1.2\NATIVE\gcc

CCCP     EXE       699,418  02-02-00 10:35p cccp.exe
CPP      EXE       699,418  02-02-00 10:35p cpp.exe
GENCHECK EXE       321,297  02-02-00 10:35p gencheck.exe

and an empty

        C:\usr\local\src\egcs-1.1.2\NATIVE\i386-wrs-vxworks

Where's the GCC I was longing for to help me see the cosmopolitan greeting
on my VxWorks screen ?

Thank you very much in advance for your help. 

Best regards
Nedialko Krouchev, Ph.D.
postdoctoral fellow
Prof. John Kalaska's System Neuroscience lab 
2960, Chemin de la Tour
University of Montreal, H3C 3J7 Canada
http://esi25.ESI.UMontreal.CA:80/~krouchen/
tel:    (514) 343 6111 x3314
fax:   (514) 343 2111 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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