gEDA-dev: Native windows cross-compile with mingw32
Peter Clifton
pcjc2 at cam.ac.uk
Sat May 12 22:33:46 EDT 2007
Hi,
Bored (or masochistic), I've been playing with cross compiling things
for windows.
I've managed to bend guile-1.6.8 into compiling (just), and have started
on libgeda.
Some stuff we need to workaround (out of order w.r.t the console spew):
f_basic.c: In function `f_save':
f_basic.c:315: error: `S_IWGRP' undeclared
f_basic.c:315: error: `S_IXGRP' undeclared
f_basic.c:315: error: `S_IXOTH' undeclared
f_basic.c:345: error: `S_ISGID' undeclared
f_basic.c:341: warning: implicit declaration of function `getuid'
f_basic.c:348: warning: implicit declaration of function `getgid'
f_basic.c:364: warning: implicit declaration of function `chown'
f_basic.c: In function `f_normalize_filename':
f_basic.c:394: warning: implicit declaration of function `realpath'
f_basic.c: In function `follow_symlinks':
f_basic.c:429: warning: implicit declaration of function `lstat'
f_basic.c:436: warning: implicit declaration of function `S_ISLNK'
f_basic.c:442: warning: implicit declaration of function `readlink'
o_embed.c:29:20: libgen.h: No such file or directory
o_embed.c: In function `o_embed':
o_embed.c:84: warning: implicit declaration of function `basename'
o_embed.c:84: warning: format argument is not a pointer (arg 4)
o_embed.c: In function `o_unembed':
o_embed.c:150: warning: format argument is not a pointer (arg 4)
Probably glib can help with many of these - its certainly not as long a
list as I'd expected (even if I've still got gschem, gnetlist and others
yet to look at).
PS: Don't expect this to work, or for me to release .exe file of new
gEDA releases.. If by some miracle it works, I'll be happy to post the
files - but they'll come with limited or no support.
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
More information about the geda-dev
mailing list