Compiler Option for 64bits (PC Linux Emulation)

This topic contains 1 reply, has 2 voices, and was last updated by  Marque 9 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29507

    dom_
    Member

    Hi,

    I was trying to compile the sdk demos on a 64bit linux pc machine.
    To get rid of the void* cast you must add some -m32 flags.

    To SDKPackage/Demos/Shaders/OGLES2/Build/LinuxGeneric/Makefile :
    CFLAGS+= -m32

    Add the -m32 flag in SDKPackage/Builds/OGLES2/LinuxGeneric/make_demo.mak
    LINKCOMMAND = $(CPP) -m32 -o $(OBJPATH)/$(OUTNAME) $(OBJECTS) $(LINK) $(PLAT_LINK)

    Regards,
    dom

    #32044

    Marque
    Member

    Thanks for your suggestion dom_.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.