Re: [Mingw-users] Problem with using mingw on linux
- Date: Sun, 04 May 2008 10:59:27 -0700
- From: Brian Dessent <brian@xxxxxxxxxxx>
- Subject: Re: [Mingw-users] Problem with using mingw on linux
klk wrote:
> I installed it with "apt-get install
> mingw32 mingw32-binutils mingw32-runtime".
Let the package manager worry about dependencies, that's its job; you
should be able to just do "apt-get install mingw32".
> tgs@tgs-desktop:~/test$ i586-mingw32msvc-gcc simpletest.c -o simpletest.exe
> /tmp/cc5xd3WR.s: Assembler messages:
> /tmp/cc5xd3WR.s:2: Error: unknown pseudo-op: `.def'
> /tmp/cc5xd3WR.s:2: Error: unknown pseudo-op: `.scl'
> /tmp/cc5xd3WR.s:2: Error: unrecognized symbol type ""
> /tmp/cc5xd3WR.s:2: Error: junk at end of line, first unrecognized character
> is `3'
> /tmp/cc5xd3WR.s:2: Error: unknown pseudo-op: `.endef'
> /tmp/cc5xd3WR.s:5: Error: unknown pseudo-op: `.def'
> /tmp/cc5xd3WR.s:5: Error: unknown pseudo-op: `.scl'
> /tmp/cc5xd3WR.s:5: Error: unrecognized symbol type ""
> /tmp/cc5xd3WR.s:5: Error: junk at end of line, first unrecognized character
> is `3'
> /tmp/cc5xd3WR.s:5: Error: unknown pseudo-op: `.endef'
The cross compiler seems to be invoking the native assembler instead of
the cross assembler. Run the command with -v to see how it's invoking
the assembler.
I would say at this point it's a question for the Debian package
maintainers and not this list, because these packages are clearly broken
as the invocation as written should work fine.
Brian
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users