Can't build cross-assembler on CYGWIN
Dave Korn
dave.korn.cygwin@googlemail.com
Tue Jan 13 06:01:00 GMT 2009
Kate Romanova wrote:
> Hi,
> Please don't be harsh on me. I'm new here and I'm a girl :)
Hi Kate, don't worry, we'll put the flame-throwers down :)
> I need to build a cross assembler. Build and host platforms is Cygwin. Target platform is
> 64 bit Linux.
> I thought it will be 20 minutes exercise.
It usually is.
> I did configure:
> ./configure -target=ia64-unknown-linux-gnu --prefix=/cygdrive/c/Users/Work/GAS/build
All looks correct.
> Configure seems to work fine and finish. Makefile got generated.
> Then I did 'make'. BUT Makefile DIDN'T DO ANYTHING!
> That's the output that make gave me.
> $ make
> make[1]: Entering directory `/cygdrive/c/Users/Work/GAS'
> make[1]: Nothing to be done for `all-host'.
> make[1]: Nothing to be done for `all-target'.
> make[1]: Leaving directory `/cygdrive/c/Users/Work/GAS'
Bizarre. I tried your config and it built ok for me with recent binutils
from CVS. What version of the source were you using?
> I saw the only suspicious part when I searched in the config.log, when I tried to figure out what went wrong. I doubt that this is the cause of the problem...
> configure:3720: result: none needed
> configure:3738: gcc -c -g -O2 conftest.c >&5
> conftest.c:2: error: parse error before "me"
> configure:3744: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> | choke me
> | #endif
Unfortunately that's normal, part of configure working out what works on
the build platform and what doesn't by compiling test programs. Nothing else
in your config.log seemed out of place either. There might have been some
error messages printed to the screen during the configure stage that didn't
end up in the log file - did you keep a copy of the trace? Also, send me a
copy of the generated makefile (it should be several hundred kB, so best send
it offlist or upload it to pastebin or similar), and while you're doing that,
run "cygcheck -s -v -r > cygcheck.out" in a cygwin shell window and send that
as an attachment as well.
cheers,
DaveK
More information about the Binutils
mailing list