[Bug java/21754] New: ./libtool: /mingw/bin/ar: Invalid argument

2005-05-25 Thread Christopher dot Dawes at retail-logic dot com
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


[Bug libgcj/21754] ./libtool: /mingw/bin/ar: Invalid argument

2005-05-31 Thread Christopher dot Dawes at retail-logic dot com

--- 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