Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-08 Thread Gunnar Arndt
Jim and Andrew, thank you for the details. I agree with Jim that it is probably dangerous to dig into Windows too deeply, so I'll accept the mentioned waste of disk space caused by target files copied to symlinks, as there is usually by far enough of it these days. Regards, Gunnar Arndt

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Jim Wilson
On Thu, Apr 7, 2016 at 7:46 PM, Pinski, Andrew wrote: > Actually NTFS can be made to be case sensitive. Good point. I'd forgotten about that. See https://cygwin.com/cygwin-ug-net/using-specialnames.html about 1/3 of the way down it talks about turning off case insensitive filenames with a re

RE: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Pinski, Andrew
: libstdc++.so: file format not recognized; treating as linker script On Thu, Apr 7, 2016 at 2:43 AM, Gunnar Arndt wrote: > I've unzipped the Linaro gcc archive with WinRAR, and - what probably > makes the difference - chosen NOT to overwrite duplicate files during > unzipping.

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Jim Wilson
On Thu, Apr 7, 2016 at 2:43 AM, Gunnar Arndt wrote: > I've unzipped the Linaro gcc archive with WinRAR, and - what probably makes > the difference - chosen NOT to overwrite duplicate files during unzipping. > It works now for simple test programs, but I fear that there will be > problems some time

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Jim Wilson
On Thu, Apr 7, 2016 at 2:43 AM, Gunnar Arndt wrote: > I've unzipped the Linaro gcc archive with WinRAR, and - what probably makes > the difference - chosen NOT to overwrite duplicate files during unzipping. > It works now for simple test programs, but I fear that there will be > problems some time

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Gunnar Arndt
Jim, I've unzipped the Linaro gcc archive with WinRAR, and - what probably makes the difference - chosen NOT to overwrite duplicate files during unzipping. It works now for simple test programs, but I fear that there will be problems some time soon because of content not properly extracted.

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-07 Thread Gunnar Arndt
Hi Jim, thank you for the competent suggestion. I had used 7-Zip to extract the archive, which has nothing to do with Cygwin. However, I remember that there were indeed some hints about files being overwritten by identical ones - those probably were the links in question. I'm going to give you

Re: Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-06 Thread Jim Wilson
On Wed, Apr 6, 2016 at 8:15 AM, Gunnar Arndt wrote: > embedded/gcc-linaro-5.3-2016.02-i686-mingw32_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/5.3.1/../../../../arm-linux-gnueabihf/lib/libstdc++.so: > file format not recognized; treating as linker script > c:/program files (x86)/gnu to

Linaro toolchain: libstdc++.so: file format not recognized; treating as linker script

2016-04-06 Thread Gunnar Arndt
My dear friends, I'm trying to build C++ code for Linux running on am ARM Cortex A8 (TI AM335x). For a first try, I'm using the simplest program I can think of: /* main.cpp */ int main() { return 0; } Under Linux with the 'normal' GCC, that works fine, but under Windows 7 with the Linaro