for 32-bit compiles only using 64-bit compiler (using -m32) I get
mingw32/bin/ld.exe: i386:x86-64 architecture of input file
`32\diskgeometry.manifest.res' is incompatible with i386 output
collect2.exe: error: ld returned 1 exit status
Q:
- is there something special I need to do for -l switch to specify 32-bit libs?
- do I use the same runtime DLLs like libgcc_s_sjlj-1.dll and libstdc++-6.dll?
-which of these 4.9.0 experimental posix compilers is hosted on x64 (they both
execute)?
- does posix mean the posix subsystem of windows be
installed for it to work (already did, but need to know for customers) or does
it mean posix threads?
whatever the case, I can't seem to build a 32-bit program (I put in a manifest,
windows rejects the executable because the processorArchitecture="X86" in the
manifest doesn't match the x86-64 binary). and I do run into 32-bit machines
out there.
here is the manifest.
32\diskgeometry.exe.manifest:
=============================
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
name="JimMichaels.DiskGeometry.DiskGeometry"
type="win32"
version="1.16.0.80"
processorArchitecture="X86"
publicKeyToken="0000000000000000"
language="*"
/>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- The ID below indicates application support for Windows Vista
-->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<!-- The ID below indicates application support for Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<!-- The ID below indicates application support for Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<!-- The ID below indicates application support for Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
</application>
</compatibility>
<description>diskgeom - show disk geometry</description>
<-- Identify the application security requirements. -->
<ms_asmv2:trustInfo xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
<ms_asmv2:security>
<ms_asmv2:requestedPrivileges>
<ms_asmv2:requestedExecutionLevel level="asInvoker"
uiAccess="false">
</ms_asmv2:requestedExecutionLevel>
</ms_asmv2:requestedPrivileges>
</ms_asmv2:security>
</ms_asmv2:trustInfo>
</assembly>
>________________________________
> From: Ivan Garramona <heavenandhell...@gmail.com>
>To: mingw-w64-public@lists.sourceforge.net
>Sent: Friday, January 17, 2014 5:49 PM
>Subject: Re: [Mingw-w64-public] there is lib and lib64, how target
>32-bit/64-bit?
>
>
>
>You have to use the flags -m32 or -m64 to specify the target. The i686 will
>target 32bit by default, the same happens with the x86_64, it defaults to
>64bit.
>
>
>
>
>2014/1/17 Jim Michaels <jmich...@yahoo.com>
>
>there is lib and lib64, how do I target specific cpu type (32-bit/64-bit)?
>>am using
>>
>>i686-4.9.0-snapshot-20131119-rev205009-posix-sjlj-rt_v4
>>x86_64-4.9.0-snapshot-20131119-rev205009-posix-sjlj-rt_v4
>>which of these compilers is hosted on x64? does posix mean the posix
>>subsystem of windows be installed for it to work (already did, but need to
>>know for customers)?
>>
>>
>>in the 64-bit compiler, it has lib and lib32.
>>in the 32-bit compiler, it has lib and lib64.so now curious what this all now
>>means.
>>thanks.
>>
>>-------------
>>Jim Michaels
>>jmich...@yahoo.com
>>j...@renewalcomputerservices.com
>>http://RenewalComputerServices.com
>>http://JesusnJim.com (my personal site, has software)
>>---
>>IEC Units: Computer RAM & SSD measurements, microsoft disk size measurements
>>(note: they will say GB or MB or KB or TB when it is IEC Units!):
>>[KiB] [MiB] [GiB] [TiB]
>>[2^10B=1,024^1B=1KiB]
>>[2^20B=1,024^2B=1,048,576B=1MiB]
>>[2^30B=1,024^3B=1,073,741,824B=1GiB]
>>[2^40B=1,024^4B=1,099,511,627,776B=1TiB]
>>[2^50B=1,024^5B=1,125,899,906,842,624B=1PiB]
>>SI Units:
Hard disk industry disk size measurements:
>>
>>[kB] [MB] [GB] [TB]
>>[10^3B=1,000B=1kB]
>>[10^6B=1,000,000B=1MB]
>>[10^9B=1,000,000,000B=1GB]
>>[10^12B=1,000,000,000,000B=1TB]
>>[10^15B=1,000,000,000,000,000B=1PB]
>>
>>
>>------------------------------------------------------------------------------
>>CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>>Learn Why More Businesses Are Choosing CenturyLink Cloud For
>>Critical Workloads, Development Environments & Everything In Between.
>>Get a Quote or Start a Free Trial Today.
>>http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>>_______________________________________________
>>Mingw-w64-public mailing list
>>Mingw-w64-public@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
>>
>
>
>------------------------------------------------------------------------------
>CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>Learn Why More Businesses Are Choosing CenturyLink Cloud For
>Critical Workloads, Development Environments & Everything In Between.
>Get a Quote or Start a Free Trial Today.
>http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>
>_______________________________________________
>Mingw-w64-public mailing list
>Mingw-w64-public@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public