public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21754] New: ./libtool: /mingw/bin/ar: Invalid argument
@ 2005-05-25 15:15 Christopher dot Dawes at retail-logic dot com
  2005-05-25 15:36 ` [Bug libgcj/21754] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Christopher dot Dawes at retail-logic dot com @ 2005-05-25 15:15 UTC (permalink / raw)
  To: java-prs

Having tweaked the bootstrapclasspath for dom & sax for libjava and applied the
patch in bug 21022 I've hit another problem. When it gets to the final stages
with libtool it produces the following error:

--------------------------
./libtool: /mingw/bin/ar: Invalid argument
make[1]: *** [libgcj0_convenience.la] Error 126
make[1]: Leaving directory `/f/GCC_BuildDir/obj/mingw32/libjava'
--------------------------

I compiled using the following script:

------------------
../gcc-4.0.0/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32
--target=mingw32 --prefix=/mingw  --enable-threads --disable-nls
--enable-languages=c++,c,java --disable-win32-registry --enable-shared
--enable-libgcj
make "CFLAGS=-O2" "LDFLAGS=-s" bootstrap
make
make DESTDIR=/f/GCC_InstallDir install
------------------

The command is unfortuately too long to fit in the comment box so i have
uploaded it to:

http://www.christopherdawes.f2s.com/error%20compiling%20GCC%204.0.0%20with%20MINGW%20on%20windows.rtf

along with the error

-- 
           Summary: ./libtool: /mingw/bin/ar: Invalid argument
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Christopher dot Dawes at retail-logic dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: Mingw32
  GCC host triplet: Mingw32
GCC target triplet: Mingw32


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


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

* [Bug libgcj/21754] ./libtool: /mingw/bin/ar: Invalid argument
  2005-05-25 15:15 [Bug java/21754] New: ./libtool: /mingw/bin/ar: Invalid argument Christopher dot Dawes at retail-logic dot com
@ 2005-05-25 15:36 ` pinskia at gcc dot gnu dot org
  2005-05-31  9:45 ` dannysmith at users dot sourceforge dot net
  2005-05-31 14:19 ` Christopher dot Dawes at retail-logic dot com
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-25 15:36 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |libgcj
           Keywords|                            |build


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


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

* [Bug libgcj/21754] ./libtool: /mingw/bin/ar: Invalid argument
  2005-05-25 15:15 [Bug java/21754] New: ./libtool: /mingw/bin/ar: Invalid argument Christopher dot Dawes at retail-logic dot com
  2005-05-25 15:36 ` [Bug libgcj/21754] " pinskia at gcc dot gnu dot org
@ 2005-05-31  9:45 ` dannysmith at users dot sourceforge dot net
  2005-05-31 14:19 ` Christopher dot Dawes at retail-logic dot com
  2 siblings, 0 replies; 5+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-05-31  9:45 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From dannysmith at users dot sourceforge dot net  2005-05-31 09:45 -------
Try changing --enable-shared to --disable-shared when configuring.  Building 
shared libgcj with libtool doesn't really work on windows targets.  You could 
try using Mohan Embars scripts to build a static lib and and then convert to 
dll. See http://www.thisiscool.com/gcc_mingw.htm

Danny

-- 


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


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

* [Bug libgcj/21754] ./libtool: /mingw/bin/ar: Invalid argument
  2005-05-25 15:15 [Bug java/21754] New: ./libtool: /mingw/bin/ar: Invalid argument Christopher dot Dawes at retail-logic dot com
  2005-05-25 15:36 ` [Bug libgcj/21754] " pinskia at gcc dot gnu dot org
  2005-05-31  9:45 ` dannysmith at users dot sourceforge dot net
@ 2005-05-31 14:19 ` Christopher dot Dawes at retail-logic dot com
  2 siblings, 0 replies; 5+ messages in thread
From: Christopher dot Dawes at retail-logic dot com @ 2005-05-31 14:19 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From Christopher dot Dawes at retail-logic dot com  2005-05-31 14:19 -------
Unfortunately it's nothing to do with compiling or linking, it's when it's then
trying to archive it however i've not managed to find the part of the Makefile
which calls ar.exe, if i could I'd try splitting it into individual statements
to ar each file one by one until i found out whether there were too many
arguments or whether there was an incorrect argument.

-- 


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


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

* [Bug libgcj/21754] ./libtool: /mingw/bin/ar: Invalid argument
       [not found] <bug-21754-8172@http.gcc.gnu.org/bugzilla/>
@ 2012-01-11 14:06 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-11 14:06 UTC (permalink / raw)
  To: java-prs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-11 14:04:33 UTC ---
No activity.


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

end of thread, other threads:[~2012-01-11 14:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25 15:15 [Bug java/21754] New: ./libtool: /mingw/bin/ar: Invalid argument Christopher dot Dawes at retail-logic dot com
2005-05-25 15:36 ` [Bug libgcj/21754] " pinskia at gcc dot gnu dot org
2005-05-31  9:45 ` dannysmith at users dot sourceforge dot net
2005-05-31 14:19 ` Christopher dot Dawes at retail-logic dot com
     [not found] <bug-21754-8172@http.gcc.gnu.org/bugzilla/>
2012-01-11 14:06 ` 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).