Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit?
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= 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 descriptiondiskgeom - 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=119420431iu=/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
Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit?
2014/1/18 Jim Michaels jmich...@yahoo.com 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? No, this only means libgcc and libstdc++ are built using pthreads instead of the basic Win32 API implementation present in the code. This is required to enable C++11 thread, future, and mutex in libstdc++. You may have to redistribute the winpthreads DLL alongside the libgcc DLL. I don't know about the other things. Cheers, Ruben 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= 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 descriptiondiskgeom - 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 jmich...@yahoo.com j...@renewalcomputerservices.com http:// http://renewalcomputerservices.com/RenewalComputerServices.comhttp://renewalcomputerservices.com/ http://JesusnJim.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
Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit?
hmm. there seems to be a problem with 64-bit windres always making 64-bit .res files regardless of -m32, and windows 7 is complaining. there are no windres switches to change this. From: Ruben Van Boxem vanboxem.ru...@gmail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Saturday, January 18, 2014 5:42 AM Subject: Re: [Mingw-w64-public] there is lib and lib64,how target 32-bit/64-bit? 2014/1/18 Jim Michaels jmich...@yahoo.com 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? No, this only means libgcc and libstdc++ are built using pthreads instead of the basic Win32 API implementation present in the code. This is required to enable C++11 thread, future, and mutex in libstdc++. You may have to redistribute the winpthreads DLL alongside the libgcc DLL. I don't know about the other things. Cheers, Ruben 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= 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 descriptiondiskgeom - 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
Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit?
On Sat, Jan 18, 2014, Jim Michaels wrote: hmm. there seems to be a problem with 64-bit windres always making 64-bit .res files regardless of -m32, and windows 7 is complaining. there are no windres switches to change this. IMHO (well, and others think the same), multilib is a nice thing but if it introduces a significant number of issues. Separate compilers is the safer option. Of course everything could be made to work, with enough time and money. -- Adrien Nader -- 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=119420431iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit?
2014/1/18 Jim Michaels jmich...@yahoo.com hmm. there seems to be a problem with 64-bit windres always making 64-bit .res files regardless of -m32, and windows 7 is complaining. there are no windres switches to change this. Only the GCC compiler driver understands -m32/-m64. But the windres documentation has this little gem: -F target--target targetSpecify the BFD format to use for a COFF file as input or output. This is a BFD target name; you can use the --help option to see a list of supported targets. Normally windres will use the default format, which is the first one listed by the --help option. Target Selectionhttps://sourceware.org/binutils/docs/binutils/Target-Selection.html#Target-Selection. Which seems to indicate it has certain options to handle this, but they are different from what you'd like to use. Cheers, Ruben -- *From:* Ruben Van Boxem vanboxem.ru...@gmail.com *To:* mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net *Sent:* Saturday, January 18, 2014 5:42 AM *Subject:* Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit? 2014/1/18 Jim Michaels jmich...@yahoo.com 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? No, this only means libgcc and libstdc++ are built using pthreads instead of the basic Win32 API implementation present in the code. This is required to enable C++11 thread, future, and mutex in libstdc++. You may have to redistribute the winpthreads DLL alongside the libgcc DLL. I don't know about the other things. Cheers, Ruben 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= 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 descriptiondiskgeom - 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
Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit?
I take that back. supported targets: pe-x86-64 pei-x86-64 elf64-x86-64 elf64-l1om elf64-k1om pe-i386 pei-i386 elf32-i386 elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex so which one do I use for win64 and which one for win32? my guess is one of the pe series, but not sure which to pick. help appreciated. I don't know what the pei means, but I know that windows uses a wiundows PE exe format. - 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] From: Jim Michaels jmich...@yahoo.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Saturday, January 18, 2014 2:34 PM Subject: Re: [Mingw-w64-public] there is lib and lib64,how target 32-bit/64-bit? hmm. there seems to be a problem with 64-bit windres always making 64-bit .res files regardless of -m32, and windows 7 is complaining. there are no windres switches to change this. From: Ruben Van Boxem vanboxem.ru...@gmail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Saturday, January 18, 2014 5:42 AM Subject: Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit? 2014/1/18 Jim Michaels jmich...@yahoo.com 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? No, this only means libgcc and libstdc++ are built using pthreads instead of the basic Win32 API implementation present in the code. This is required to enable C++11 thread, future, and mutex in libstdc++. You may have to redistribute the winpthreads DLL alongside the libgcc DLL. I don't know about the other things. Cheers, Ruben 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= 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 descriptiondiskgeom - 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
Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit?
all is well. discovered where the 32-bit DLLs were in 64-bit cvompiler using dir/s/b *.dll and now all is working well. thanks for the help. From: Jim Michaels jmich...@yahoo.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Saturday, January 18, 2014 2:43 PM Subject: Re: [Mingw-w64-public] there is lib and lib64,how target 32-bit/64-bit? I take that back. supported targets: pe-x86-64 pei-x86-64 elf64-x86-64 elf64-l1om elf64-k1om pe-i386 pei-i386 elf32-i386 elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex so which one do I use for win64 and which one for win32? my guess is one of the pe series, but not sure which to pick. help appreciated. I don't know what the pei means, but I know that windows uses a wiundows PE exe format. - 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] From: Jim Michaels jmich...@yahoo.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Saturday, January 18, 2014 2:34 PM Subject: Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit? hmm. there seems to be a problem with 64-bit windres always making 64-bit .res files regardless of -m32, and windows 7 is complaining. there are no windres switches to change this. From: Ruben Van Boxem vanboxem.ru...@gmail.com To: mingw-w64-public@lists.sourceforge.net mingw-w64-public@lists.sourceforge.net Sent: Saturday, January 18, 2014 5:42 AM Subject: Re: [Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit? 2014/1/18 Jim Michaels jmich...@yahoo.com 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? No, this only means libgcc and libstdc++ are built using pthreads instead of the basic Win32 API implementation present in the code. This is required to enable C++11 thread, future, and mutex in libstdc++. You may have to redistribute the winpthreads DLL alongside the libgcc DLL. I don't know about the other things. Cheers, Ruben 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= 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 descriptiondiskgeom - show disk geometry/description -- Identify the application security requirements. -- ms_asmv2:trustInfo xmlns:ms_asmv2=urn:schemas-microsoft-com:asm.v2
[Mingw-w64-public] there is lib and lib64, how target 32-bit/64-bit?
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=119420431iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
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 jmich...@yahoo.com j...@renewalcomputerservices.com http:// http://renewalcomputerservices.com/RenewalComputerServices.comhttp://renewalcomputerservices.com/ http://JesusnJim.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=119420431iu=/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=119420431iu=/4140/ostg.clktrk___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public