Julien Darthenay wrote:

> But I am unable to find the
> options to use with "windres" to build the resource object file. Are 
> there any "windres" option to use to target 64-bit and 32-bit ?

What I do in such case is:

RCFLAGS = -O COFF

ifeq ($(BUILD_64BIT),1)
  RCFLAGS += --target=pe-x86-64
else
  RCFLAGS += --target=pe-i386
endif

$(OBJ_DIR)/libcurl.res: libcurl.rc ../include/curl/curlver.h
        windres $(RCFLAGS) -o $@ -i libcurl.rc

(taken from a makefile to build libcurl.dll).

I'm not sure if 'gcc -arch=xx' can be made to have any effect
on creating a .res-file. Better do that explicitly.

-- 
--gv

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to