public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39694] -print-file-name doesn't work on mingw in 100%.
       [not found] <bug-39694-4@http.gcc.gnu.org/bugzilla/>
@ 2011-04-16 10:22 ` jakub at gcc dot gnu.org
  2011-04-28 16:13 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-04-16 10:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39694

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.6                       |4.4.7


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/39694] -print-file-name doesn't work on mingw in 100%.
       [not found] <bug-39694-4@http.gcc.gnu.org/bugzilla/>
  2011-04-16 10:22 ` [Bug target/39694] -print-file-name doesn't work on mingw in 100% jakub at gcc dot gnu.org
@ 2011-04-28 16:13 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-28 16:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39694

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.7                       |---


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/39694] -print-file-name doesn't work on mingw in 100%.
  2009-04-09 10:48 [Bug target/39694] New: " pluto at agmk dot net
  2009-09-03 15:15 ` [Bug target/39694] " fxcoudert at gcc dot gnu dot org
@ 2010-08-31 13:45 ` pluto at agmk dot net
  1 sibling, 0 replies; 4+ messages in thread
From: pluto at agmk dot net @ 2010-08-31 13:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pluto at agmk dot net  2010-08-31 13:45 -------
no, it still doesn't work with 4.5.2 on linux hosted cross compiler.
gcc finds libgcc_s pretty well during linking:

%
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/bin/i686-pc-mingw32-gcc
t.c -shared-libgcc -Wl,--verbose|egrep 'libgcc.*succeeded'|sort|uniq

attempt to open
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/libgcc.a
succeeded
attempt to open
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/libgcc_s.a
succeeded

but -print-file-name=libgcc_s.a doesn't work.
maybe it's related to cygwin vs. linux compiler hosting?

%
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/bin/i686-pc-mingw32-g++
-v
Using built-in specs.
COLLECT_GCC=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/bin/i686-pc-mingw32-g++
COLLECT_LTO_WRAPPER=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/lto-wrapper
Target: i686-pc-mingw32
Configured with: ../configure --target=i686-pc-mingw32 --with-arch=i686
--prefix=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc
--with-sysroot=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc
--libdir=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib
--libexecdir=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib
--with-slibdir=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib
--with-gmp-include=/home/pawels/toolchain/trunk/gcc-math-runtime/include
--with-gmp-lib=/home/pawels/toolchain/trunk/gcc-math-runtime/lib
--with-mpfr-include=/home/pawels/toolchain/trunk/gcc-math-runtime/include
--with-mpfr-lib=/home/pawels/toolchain/trunk/gcc-math-runtime/lib
--with-mpc-include=/home/pawels/toolchain/trunk/gcc-math-runtime/include
--with-mpc-lib=/home/pawels/toolchain/trunk/gcc-math-runtime/lib
--disable-multilib --disable-nls --disable-libgomp --disable-libmudflap
--disable-libssp --enable-tls --enable-libstdcxx-allocator=mt
--disable-libstdcxx-pch --disable-lto --disable-plugin --enable-c99
--enable-long-long --disable-win32-registry --enable-threads=win32
--disable-sjlj-exceptions --enable-shared --enable-fully-dynamic-string
--enable-__cxa_atexit --enable-languages=c,c++ --enable-checking=release
--disable-symvers --with-long-double-128 --disable-cld --disable-bootstrap
Thread model: win32
gcc version 4.5.2 20100813 (prerelease) (GCC)

%
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/bin/i686-pc-mingw32-g++
-print-file-name=libgcc_s.a
libgcc_s.a

%
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/bin/i686-pc-mingw32-g++
-print-file-name=libgcc.a
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/libgcc.a


%
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/bin/i686-pc-mingw32-g++
-print-search-dirs
install:
/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/
programs:
=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/../../../../i686-pc-mingw32/bin/i686-pc-mingw32/4.5.2/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/../../../../i686-pc-mingw32/bin/
libraries:
=/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/../../../../i686-pc-mingw32/lib/i686-pc-mingw32/4.5.2/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/lib/gcc/i686-pc-mingw32/4.5.2/../../../../i686-pc-mingw32/lib/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/mingw/lib/i686-pc-mingw32/4.5.2/:/local/devel/toolchain45/i686-pc-mingw32.host64.mt_alloc/mingw/lib/


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.4.0                       |4.4.0 4.5.0
      Known to work|4.5.0 4.6.0                 |
            Summary|[4.4 only] -print-file-name |-print-file-name doesn't
                   |doesn't work on mingw in    |work on mingw in 100%.
                   |100%.                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39694


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/39694] -print-file-name doesn't work on mingw in 100%.
  2009-04-09 10:48 [Bug target/39694] New: " pluto at agmk dot net
@ 2009-09-03 15:15 ` fxcoudert at gcc dot gnu dot org
  2010-08-31 13:45 ` pluto at agmk dot net
  1 sibling, 0 replies; 4+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-09-03 15:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2009-09-03 15:15 -------
Works for me with current mainline:

$ i586-pc-mingw32-gcc -print-file-name=libgcc_s.a
/Users/fx/devel/mingw/cross/lib/gcc/i586-pc-mingw32/4.5.0/../../../../i586-pc-mingw32/lib/libgcc_s.a
$ i586-pc-mingw32-gcc -print-file-name=libgcc.a  
/Users/fx/devel/mingw/cross/lib/gcc/i586-pc-mingw32/4.5.0/libgcc.a


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
      Known to fail|                            |4.4.0
      Known to work|                            |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39694


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-28 16:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39694-4@http.gcc.gnu.org/bugzilla/>
2011-04-16 10:22 ` [Bug target/39694] -print-file-name doesn't work on mingw in 100% jakub at gcc dot gnu.org
2011-04-28 16:13 ` rguenth at gcc dot gnu.org
2009-04-09 10:48 [Bug target/39694] New: " pluto at agmk dot net
2009-09-03 15:15 ` [Bug target/39694] " fxcoudert at gcc dot gnu dot org
2010-08-31 13:45 ` pluto at agmk dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).