Hello!

Since trying to login to the forum always seems to delete my mail
address, leading to the warning that I should set it in the wiki, I'm
writing here:

I'm trying to cross compile CS on linux so I don't have to start-up
windows every time I want to compile a new windows build. I found these
two tutorials:
http://community.crystalspace3d.org/tiki-read_article.php?articleId=24
      (Using CS with KDevelop - worked for me)
http://community.crystalspace3d.org/tiki-read_article.php?articleId=14  
     (Cross compiling CS - doesn't really work for me)

My problem is that I don't know what options I should use for configure,
the tutorials states I should use:
./configure --target=mingw32 --host=mingw32 --build=i686-pc-linux-gnu \
CXXFLAGS=-I/usr/local/mingw32/mingw32/include \
"LDFLAGS=-L/usr/local/mingw32/mingw32/lib -s -O" \
CXX=/usr/local/mingw32/bin/mingw32-g++

I replaced the path to mingw since the Ubuntu package installs it
somewhere else:
./configure --target=mingw32 --host=mingw32 --build=i686-pc-linux-gnu \
CXXFLAGS=-I/usr/i586-mingw32msvc/include \
"LDFLAGS=-L/usr/i586-mingw32msvc/lib -s -O" \
CXX=i586-mingw32msvc-g++

Still, that doesn't seem to work. configure runs fine, but when I try to
build it by invoking jam the problems start:
First I get errors about the unknown command line option
-fvisibility=hidden. I temporarily fixed it by correcting the jamfile,
but then I run into the next errors:
error: ISO C++ forbids declaration of `CS_ATTRIBUTE_DEPRECATED' with no type
and other strange things.

Could anyone be so kind and tell me what options I should use for cross
compiling?


About my PC:
I'm using Ubuntu 7.10, compiler is the mingw package from the official
repository.
Normal CS (for linux) built fine, everything is running smoothly.

Greets, Mononofu

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to