Re: get cross-compiler to work



On Mon, 4 Oct 2004, edward hage wrote:

I made a "Hello World" test program and it works okay in Linux.

Then compiled it with the Makefile I sort of copied from Allin's page:

CC = i386-mingw32msvc-gcc -O2 -Wall -mms-bitfields -mwindows
PKG_CONFIG_PATH = /home/edward/cross-tools/i386-mingw32msvc/lib/pkgconfig

PATH := $(PATH):/home/edward/cross-tools/bin

CFLAGS := $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) \
         pkg-config --cflags gtk+-win32-2.0)
LIBS := $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) \
         pkg-config --libs gtk+-win32-2.0)

doe.exe: probeer2.c
        $(CC) -o doe.exe  probeer2.c $(CFLAGS) $(LIBS)


No problems with compiling, is making the executable. Didn't work in wine

I'm afraid that is not really expected to work (by me, anyway).

and then started (dual-boot) Windows 98 and got the following errormessage: ** (sim.exe:4294686437): WARNING **: No builtin or dynamically loaded modules were found.

You're missing the full pango runtime. I will add a section on that to my webpage on the subject.

You need relevant files in at least

etc/pango
lib/pango/1.4.0/modules

and probably

lib/gtk-2.0/2.4.0/loaders

Allin Cottrell



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]