[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] Compiling freetype on uclinux
From: |
nafiton smith |
Subject: |
[Freetype] Compiling freetype on uclinux |
Date: |
Fri, 27 Feb 2004 13:54:35 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 |
Hello
I can not get linked the libraries because I am not able to pass the
correct flags to the linker through libtool. This is what I get:
m68k-elf-gcc -shared freetype.lo ftxkern.lo ftxgasp.lo ftxpost.lo
ftxcmap.lo ftxsbit.lo ftxwidth.lo ftxerr18.lo ftxgsub.lo ftxgpos.lo
ftxgdef.lo ftxopen.lo -lm -lc -Wl,-soname -Wl,libttf.so.2 -o
.libs/libttf.so.2.2.0
/usr/local/m68k-elf/bin/ld.real: cannot find -lc
collect2: ld returned 1 exit status
This is the script I write to get the libraries compiled:
CC=m68k-elf-gcc \
CFLAGS="-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
-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
The compile process is taking CFLAGS for objects, but libtool is leaving
LDFLAGS behind. I looked for what to change at configure and ltmain.sh ,
but I can not find how it works on this.
Thank you,
nafiton
- [Freetype] Compiling freetype on uclinux,
nafiton smith <=