delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/11/05:11:28

Date: Sat, 11 Mar 2000 11:44:37 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Sivakumar D Mambakkam <smambakkam AT sparinc DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: regd Cross Compiler
In-Reply-To: <Koey4.3132$624.239046@news.flash.net>
Message-ID: <Pine.A41.4.05.10003111135560.51102-100000@ieva05.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Fri, 10 Mar 2000, Sivakumar D Mambakkam wrote:

> Hi
> 
> I need some help. I am a newbie to Linux and C program Compilations ... :(
> 
> My references are to the link page  :
> http://www.delorie.com/howto/djgpp/linux-x-djgpp.html
> 
> 
> 1 : The src/stub; lib and include directories get created in ~/djgpp
> directory and not in the ~/djgpp/cross directory as it points in the "ln"
> statement.
> 2: when I am compiling the gcc I get and error message [objc/archive,o]
> Error 1 and the compilation stops. I have already compiled the binutils.
> 3: how do I apply the patch which has been given in the page
> 

1) build cross-binutils for DJGPP (hopefully You have done that already)
   and install them (I used prefix=/usr, target=i586-pc-msdosdjgpp)
2) download gcc2952s.zip from DJGPP distribution
2) put DJGPP include dir ar /usr/i586-pc-msdosdjgpp/include (symlink to
   dos partition would be Ok (for me 
        ln -s /c/djgpp/include /usr/i586-pc-msdosdjgpp/include) 
3) put DJGPP lib dir in /usr/i586-pc-msdosdjgpp/lib. I used
        ln -s /c/djgpp/lib /usr/i586-pc-msdosdjgpp/lib 
4) create empty directory /usr/lib/gcc-lib/i586-pc-msdoddjgpp/gcc-2.95.2
5) unpack gcc2952s.zip somewhere, change to gnu/gcc-2.952/build.cross
   and run
	sh build-cross.sh
6) copy needed files from gnu/gcc-2.952/install.cross

If You change prefix than edit build-cross.sh and change paths as needed

Andris



- Raw text -


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