Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of lsb-build multiarch build hack #5

Open
davidben opened this issue Apr 2, 2011 · 0 comments
Open

Get rid of lsb-build multiarch build hack #5

davidben opened this issue Apr 2, 2011 · 0 comments
Labels

Comments

@davidben
Copy link
Owner

davidben commented Apr 2, 2011

Or at least make the lsb-build thing coherent. I think we're missing X11 headers right now.

Unfortunately, Linux does not appear to have a coherent way to correctly cross-compile things with system libraries. Existing patches just assume that the host architecture pkg-config flags and headers will work which is not necessarily true. Instead, we should require, say, pkg-config files for the viewer architecture and pass that along a command-line flag to configure until distributions can stop disagreeing on where the files live.

It would also be nice to switch to a better buildsystem or allow building multiple architectures' worth of viewers.

(In fact, reusing CFLAGS already doesn't work for glib. glibconfig.h is architecture-specific. lsb-build gets around this by defining all the macros with piles of architecture ifdefs.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant