Segaxtreme Community: Setup GNUC from Kpit. - Segaxtreme Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Setup GNUC from Kpit. Rate Topic: -----

#1 User is offline   TakaIsSilly Icon

  • Senior Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 364
  • Joined: 01-August 01

Posted 25 June 2003 - 04:04 PM

How to setup the new GNUC from Kpit:

Make sure you download the COFF package.
Extract all files and setup it at the desired location.
Install the libraries (SGL or SBL) in separated paths.

This is my GNU_SH_coff.bat - edit it to your path settings.
@Echo Off
Set PATH=F:\DEVELO~1\SH\Sh-coff\bin;F:\DEVELO~1\SH\OtherU~1;%PATH%
SET INFOPATH=F:\DEVELO~1\SH\Sh-coff\INFO
SET C_INCLUDE_PATH=F:\DEVELO~1\SH\Sh-coff\include;F:\DEVELO~1\SH\Sh-coff\SGL\inc
SET CPLUS_INCLUDE_PATH=F:\DEVELO~1\SH\Sh-coff\include\cxx;F:\DEVELO~1\SH\Sh-coff\include;F:\DEVELO~1\SH\Sh-coff\SGL\inc
Set MAKE_MODE=unix

Cmd "cd\" /k


I have the distribution at F:\Develo~1\SH\Sh-coff
SGL(not SBL6) is installed in F:\Develo~1\SH\Sh-coff\SGL

Run GNU_SH_coff.bat to enter the compiler env.

makefiles need some changes:

The base SGL Makefile starts like this:
#
#  SEGA SATURN Graphic library make file for GNU

# macro
CC = gcc
LD = ld
RM = deltree
CONV = objcopy


change the names so that:

# macro
CC = sh-coff-gcc
LD = sh-coff-ld
RM = rm
CONV = sh-coff-objcopy


(since WinXP has no deltree binary, Kpit's has rm installed on the Other Utilities section, and we use that.)

Stuff should work now. Any doubts go here...
0

#2 User is offline   vbt Icon

  • Administrator
  • Icon
  • Group: Administrators
  • Posts: 3,670
  • Joined: 16-December 01

Posted 25 June 2003 - 04:13 PM

Sorry TakaIsSilly, I think I saw that somewhere but I was looking for something really hard to configure(specific files to copy for instance), anyway thanks a lot :D :D

I won't have to loose time on that :D
0

#3 User is offline   TakaIsSilly Icon

  • Senior Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 364
  • Joined: 01-August 01

Posted 25 June 2003 - 04:34 PM

As far as i know, this is the whole nine yards, the whole sheebang. The leacked compiler release wan't that mutch diferent...
0

#4 User is offline   vbt Icon

  • Administrator
  • Icon
  • Group: Administrators
  • Posts: 3,670
  • Joined: 16-December 01

Posted 01 July 2003 - 05:22 PM

oups :blush: :blush: :blush: silly question
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users