[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Compiling freetype on uclinux
From: |
nafiton smith |
Subject: |
Re: [Freetype] Compiling freetype on uclinux |
Date: |
Tue, 02 Mar 2004 10:17:46 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 |
Hello
Werner LEMBERG wrote:
You have written
./configure CFLAGS="..." LDFLAGS="..."
haven't you (note the double quotes)?
Yes, it has the double quotes. I am running it from a script ( I
think this make no difference, or does it?).
It makes a difference if you use the Freetype's top-level configure
wrapper (instead of the real configure script in builds/unix). Then
you have to protect the arguments like this
./configure CFLAGS="\"...\"" LDFLAGS="\"...\""
Sorry for not mentioning it.
I protected the arguments, but it keeps failing (doing it before or
after the configure call). But I fear I must be missing something more
basic. Surely you must have noticed it, but I have to say I am rather
newbie with all this. So I am not able to say if I am using the wrapper
or the real script. I tell you what I did from the start. I untar the
downloaded file and run the configure through this script that I put on
the untarred directory root:
#!/bin/sh
rm config.cache config.status -f
CC=m68k-elf-gcc \
CFLAGS="-v -O2 -D__uClinux__
-I/home/nafi/uClinux-dist/lib/uClibc/include
-I/home/nafi/uClinux-dist/linux-2.4.x/include -m5307 -Wa,-S -Wa,-m5307
-msep-data" \
LDFLAGS="-Wl,-elf2flt -Wl,-move-rodata" \
LIBS="-L/home/nafi/uClinux-dist/lib/uClibc/lib -lc" \
./configure --prefix=/home/nafi/uClinux-dist/libfreetype/ \
--build=i386-linux \
--host=m68k-elf-linux \
--target=m68k-elf-linux \
--disable-nls \
--enable-static
###########################################################################
I changed the configure script to set sizeof _int and sizeof_long to 4
directly because it gives me an cross compiling error when the process
try to discover the size itself.
Then I have added parameters to the configure call until I got an .a
file, but I can see that the LDFLAGS are not being used by the compiler
process.
Thank you for your help and info,
nafiton
Scanned by WinProxy
http://www.Ositis.com/
- Re: [Freetype] Compiling freetype on uclinux, nafiton smith, 2004/03/01
- Re: [Freetype] Compiling freetype on uclinux, Werner LEMBERG, 2004/03/01
- Re: [Freetype] Compiling freetype on uclinux, nafiton smith, 2004/03/01
- Re: [Freetype] Compiling freetype on uclinux, Werner LEMBERG, 2004/03/02
- Re: [Freetype] Compiling freetype on uclinux,
nafiton smith <=
- Re: [Freetype] Compiling freetype on uclinux, Werner LEMBERG, 2004/03/03
- Re: [Freetype] Compiling freetype on uclinux, nafiton smith, 2004/03/03
- Re: [Freetype] Compiling freetype on uclinux, Werner LEMBERG, 2004/03/03
- Re: [Freetype] Compiling freetype on uclinux, nafiton smith, 2004/03/03