Skip to content

QUESTION 32 bit? #219

Open
Open

Description

@johntaves

I'm trying to make a 32 bit version.

I think I got libmicrohttp to compile 32 bit because I see the -m32 on the compile and link lines from make and after I installed it my program's compile now fails only trying to get the 32 bit version of libhttpserver

I tried setting CFLAGS and LDFLAGS to "-m32" and also ../configure CFLAGS=-m32 and LDFLAGS=-m32. Both give me "configure: error: "libmicrohttpd not found"" at the end of ../configure

Any help is appreciated. Thanks,

Activity

  1. etr commented on Jan 16, 2021

    @etr
    Owner

    Hey,

    I suspect this might be a bug in the configure. The library does a bit of magic to find libmicrohttpd (see: http://github.com/etr/libhttpserver/blob/master/configure.ac#L96 ) without using pkgconfig.
    I think that code is causing the issue you see. I'll need to play with it a bit to see if it can work the way it is or I need to re-add pkgconfig to support similar use-cases.

  2. self-assigned this
    on Jan 16, 2021
  3. etr commented on Mar 7, 2021

    @etr
    Owner

    Hey, sorry for the late response. Did you try setting CXXFLAGS to -m32 too? That did it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions