Welcome! Log In Create A New Profile

Advanced

how ./configure the freetype lib

Posted by TheDrev 
how ./configure the freetype lib
April 14, 2010 11:05AM
Hi,
I am tring to build the freetype ported lib with the late version of devkitpro, but the configure script fail.

$ configure --host=ppc

FreeType build system -- automatic system detection

The following settings are used:

  platform                    unix
  compiler                    powerpc-eabi-gcc
  configuration directory     ./builds/unix
  configuration rules         ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).

cd builds/unix; ./configure  '--host=ppc'
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-mingw32
checking host system type... powerpc-unknown-none
checking for ppc-gcc... powerpc-eabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-eabi-gcc accepts -g... yes
checking for powerpc-eabi-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... powerpc-eabi-gcc -E
checking for i686-pc-mingw32-gcc... no
checking for gcc... gcc
checking for gcc... (cached) gcc
checking for suffix of native executables... gcc.exe: CreateProcess: No such fil
e or directory
configure: error: native C compiler is not working
make: *** [setup] Error 1

_@EEEDREV /c/usr/src/freetype-2.3.11-wii
$ configure --host=powerpc-eabi-gcc

FreeType build system -- automatic system detection

The following settings are used:

  platform                    unix
  compiler                    powerpc-eabi-gcc
  configuration directory     ./builds/unix
  configuration rules         ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).

cd builds/unix; ./configure  '--host=powerpc-eabi-gcc'
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-mingw32
checking host system type... Invalid configuration `powerpc-eabi-gcc': system `g
cc' not recognized
configure: error: /bin/sh ./config.sub powerpc-eabi-gcc failed
make: *** [setup] Error 1

____________________________________________________________________________
$ configure --host=powerpc-eabi-mingw

FreeType build system -- automatic system detection

The following settings are used:

  platform                    unix
  compiler                    powerpc-eabi-gcc
  configuration directory     ./builds/unix
  configuration rules         ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).

cd builds/unix; ./configure  '--host=powerpc-eabi-mingw'
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-mingw32
checking host system type... Invalid configuration `powerpc-eabi-mingw': system
`mingw' not recognized
configure: error: /bin/sh ./config.sub powerpc-eabi-mingw failed
make: *** [setup] Error 1

What are the good options to use ?
Re: how ./configure the freetype lib
April 16, 2010 05:30AM
We have a ready to compile version of FreeType at [code.google.com]

If you need more help on porting libs, check this page: [wiki.devkitpro.org]
Sorry, only registered users may post in this forum.

Click here to login