To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2892
2891  |  2893
Subject: 
Re: legOS library path
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 7 Oct 2002 21:20:17 GMT
Viewed: 
2698 times
  
Germán Rojas wrote:
I install legOS in the follow directory:

C:\cygwin\legos-0.2.6 (the same like the windows instructions)

Ok. So for cygwin, the path is /legos-0.2.6

Create the follow directory:

C:\legos-0.2.6\mycode

Is that right? I think it must read c:\cygwin\legos-0.2.6\mycode.

Copy the *.c and Makefile files in C:\legos-0.2.6\mycode

Ok.

KERNEL=../boot/legOS

include ../Makefile.common

include ../Makefile.user

That is ok.

h8300-hitachi-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall -I/legos/i
nclu de -I/legos/include/lnp -I. -I../boot/ -c helloworld.c -o helloworld.o

helloworld.c:1: conio.h: No such file or directory

helloworld.c:2: unistd.h: No such file or directory

make: *** [helloworld.o] Error 1

First the good news: Makefile.common and Makefile.user are correctly
included. Otherwise, the compilation won't start at all. There is a
problem with the autodetection of the legos root directory. Edit the
file Makefile.common. There is a line saying:

# legOS root directory autodetection
# if this fails, use:
#
# LEGOS_ROOT=$(HOME)/legOS/

change it to:

# legOS root directory autodetection
# if this fails, use:
#
LEGOS_ROOT=/legOS-0.2.6/

You will have to play with this until it fits. This should be sufficient
to get you up and running .... I hope.

Regards,

Michael



Message is in Reply To:
  Re: legOS library path
 
I install legOS in the follow directory: C:\cygwin\legos-0.2.6 (the same like the windows instructions) Create the follow directory: C:\legos-0.2.6\mycode Copy the *.c and Makefile files in C:\legos-0.2.6\mycode In the Makefile default file i think (...) (22 years ago, 7-Oct-02, to lugnet.robotics.rcx.legos)

7 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR