public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39694] New: -print-file-name doesn't work on mingw in 100%.
@ 2009-04-09 10:48 pluto at agmk dot net
2009-09-03 15:15 ` [Bug target/39694] " fxcoudert at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: pluto at agmk dot net @ 2009-04-09 10:48 UTC (permalink / raw)
To: gcc-bugs
on mingw target i can't get libgcc_s.a path.
the path to libgcc.a is returned correctly:
$ i686-pc-mingw32-gcc -print-file-name=libgcc.a
/local/devel/toolchain44/i686-pc-mingw32.host64/lib/gcc/i686-pc-mingw32/4.4.0/libgcc.a
but the libgcc_s.a case doesn't work. it returns:
$ i686-pc-mingw32-gcc -print-file-name=libgcc_s.a
libgcc_s.a
while file exists in /local/devel/toolchain44/i686-pc-mingw32.host64/lib/
another problem is to get libgcc_s-*.dll path. in this case:
/local/devel/toolchain44/i686-pc-mingw32.host64/bin/libgcc_s_dw2-1.dll
$ i686-pc-mingw32-gcc -v
Using built-in specs.
Target: i686-pc-mingw32
Configured with: ../configure --target=i686-pc-mingw32 --with-arch=i686
--prefix=/local/devel/toolchain44/i686-pc-mingw32.host64
--with-sysroot=/local/devel/toolchain44/i686-pc-mingw32.host64
--libdir=/local/devel/toolchain44/i686-pc-mingw32.host64/lib
--libexecdir=/local/devel/toolchain44/i686-pc-mingw32.host64/lib
--with-slibdir=/local/devel/toolchain44/i686-pc-mingw32.host64/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
--disable-multilib --disable-nls --disable-libgomp --disable-libmudflap
--disable-libssp --disable-libstdcxx-pch --with-pic --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++ --disable-symvers --with-pic
--with-long-double-128 --disable-cld --disable-bootstrap
Thread model: win32
gcc version 4.4.0 20090407 (prerelease) (GCC)
--
Summary: -print-file-name doesn't work on mingw in 100%.
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC build triplet: *-gnu-linux
GCC host triplet: *-gnu-linux
GCC target triplet: *-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39694
^ permalink raw reply [flat|nested] 6+ 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: -print-file-name doesn't work on mingw in 100% pluto at agmk dot net
@ 2009-09-03 15:15 ` fxcoudert at gcc dot gnu dot org
2010-08-31 11:36 ` [Bug target/39694] [4.4 only] " fxcoudert at gcc dot gnu dot org
2010-08-31 13:45 ` [Bug target/39694] " pluto at agmk dot net
2 siblings, 0 replies; 6+ 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] 6+ messages in thread
* [Bug target/39694] [4.4 only] -print-file-name doesn't work on mingw in 100%.
2009-04-09 10:48 [Bug target/39694] New: -print-file-name doesn't work on mingw in 100% pluto at agmk dot net
2009-09-03 15:15 ` [Bug target/39694] " fxcoudert at gcc dot gnu dot org
@ 2010-08-31 11:36 ` fxcoudert at gcc dot gnu dot org
2010-08-31 13:45 ` [Bug target/39694] " pluto at agmk dot net
2 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2010-08-31 11:36 UTC (permalink / raw)
To: gcc-bugs
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work|4.5.0 |4.5.0 4.6.0
Summary|-print-file-name doesn't |[4.4 only] -print-file-name
|work on mingw in 100%. |doesn't work on mingw in
| |100%.
Target Milestone|--- |4.4.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39694
^ permalink raw reply [flat|nested] 6+ 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: -print-file-name doesn't work on mingw in 100% pluto at agmk dot net
2009-09-03 15:15 ` [Bug target/39694] " fxcoudert at gcc dot gnu dot org
2010-08-31 11:36 ` [Bug target/39694] [4.4 only] " fxcoudert at gcc dot gnu dot org
@ 2010-08-31 13:45 ` pluto at agmk dot net
2 siblings, 0 replies; 6+ 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] 6+ messages in thread
[parent not found: <bug-39694-4@http.gcc.gnu.org/bugzilla/>]
end of thread, other threads:[~2011-04-28 16:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-09 10:48 [Bug target/39694] New: -print-file-name doesn't work on mingw in 100% pluto at agmk dot net
2009-09-03 15:15 ` [Bug target/39694] " fxcoudert at gcc dot gnu dot org
2010-08-31 11:36 ` [Bug target/39694] [4.4 only] " fxcoudert at gcc dot gnu dot org
2010-08-31 13:45 ` [Bug target/39694] " pluto at agmk dot net
[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
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).