Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#11 Can't build sdcc under cygwin

closed
Bernhard Held
None
5
2003-05-08
2002-09-06
Martin Dubuc
No

I can't build sdcc under cygwin using today's tarball. I
have created a sdcc directory with tarball content under
my home directory (/home/username) and then I ran
configure. I then ran make and got the error:
/port.a, needed by '../bin/sdcc'. Stop.1

Is this a known problem?

The last directory built successfully is src/xa51

Martin

Discussion

  • yewenwei
    yewenwei
    2003-01-14

    Logged In: YES
    user_id=313239

    I Can not build it too.

    Does who know what's wrong?

     
  • Martin Dubuc
    Martin Dubuc
    2003-01-14

    Logged In: YES
    user_id=627648

    The workaround for this problem in cygwin is to modify the
    src/Makefile in order to specify the list of port explicitly as
    follows:

    Replace:
    PORT_LIBS = $(PORTS:%/port.a)
    with:
    PORT_LIBS=mcs51/port.a z80/port.a avr/port.a
    ds390/port.a pic/port.a

    I don't specify xa51/port.a in the list explicitly because it
    does not compile in my environment.

    Martin

     
  • Bernhard Held
    Bernhard Held
    2003-05-08

    Logged In: YES
    user_id=203539

    Should be fixed now. But it's still highly recommended to
    mount all drives in binary mode.

     
  • Bernhard Held
    Bernhard Held
    2003-05-08

    • assigned_to: nobody --> bernhardheld
    • status: open --> closed