#1 unable to compile with sdcc

closed
None
5
2003-05-08
2000-09-03
Anonymous
No

Related

Discussion: [z80] long long bloated code

Discussion

  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.0 (compatible; MSIE 5.5; MSN 2.5; Windows 98; AtHome0107)

    when i try to compile with sdcc, i get various
    messaages like:

    cannot exec process: file not found

    on linux, i also get the same message with linux for
    linker, etc.

    i am using the winbin distribution for windows 98 and
    compiled the source for linux.
    please help me... its probably just something simple
    that i overlooked

    Thanks,
    Pritpaul Mahal

     
  • Nobody/Anonymous

    Logged In: YES
    user_id=130295
    Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

    Hi, I have the same problem and I wonder if you have solved
    it ?. Many thanks.

    Mitja KUKOVEC

     
  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

    nope, i eventually gave up... but now that u reminded me,
    maybe i will go back and try again

     
  • Nobody/Anonymous

    Logged In: YES
    user_id=130295
    Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

    Hi,
    with the help of George I have found the problem. First
    of all, the SDCC compiler (bin and other directories) must
    be installed under the C:\Usr\local\ directory and the
    C:\Tmp directory must be created.

    Mitja Kukovec

     
  • Nobody/Anonymous

    Logged In: NO

    i tried that and it still doesnt work

     
  • Mitja KUKOVEC

    Mitja KUKOVEC - 2001-02-27

    Logged In: YES
    user_id=130295

    Hi, I will explain the whole installation process:

    • First, download the latest SDCC Win-Binary from:

    http://www.qsl.net/dl9sec/sdcc_okr/packages/SDCC_V222_preMS_
    050201.zip

    and the appropriate cygwin1.dll (V1.1.7) from:

    http://www.qsl.net/dl9sec/sdcc_okr/packages/cygwin1dll_1V17.
    zip

    • Now create the directory structure:

    C:\Usr\local

    • Extract the content of the file
    SDCC_V222_preMS_050201.zip (using WinZip
    or any other extracting utility that manages ZIP files)
    into:

    C:\Usr\local

    • You will get the following directory structure:

    C:\Usr\local
    \bin
    \doc
    \ucsim
    \etc
    \lib
    \share
    \include
    \lib
    \ds390
    \large
    \small

    • Extract the content of the file cygwin1dll_1V17.zip into:

    C:\Usr\local\bin

    • Add the following in the Path:

    C:\Usr\local\bin

    If Windows 95/98:
    Start the MS-DOS command prompt. Navigate to the root in
    order to modify the
    PATH reference in the autoexec.bat file.
    1. Type "edit autoexec.bat" [Enter]
    2. Insert a line and type "PATH=C:\Usr\local\bin;%PATH%"
    3. Save the changes (Alt-F then hit S).
    4. Exit edit. (Alt+F then press X).

    If Windows NT:
    Add a path reference to the Environment variables:
    1. Using the mouse, right-click on the "My Computer" icon
    (on your desktop)
    and choose "Properties".
    2. Click on the "Environment" tab.
    3. Click on "Path" in the "System Variables" field.
    4. Highlight the "Path" System variable (bottom).
    5. Click in the "Value" field.
    6. Append the line with ";C:\Usr\local\bin;"
    (exactly 1 semi-colon between references)
    7. Click on the "Set" button.
    8. Click OK (in the "System Properties" window)

    If Windows 2000:
    Add a path reference to the Environment variables:
    1. Using the mouse, right-click on the "My Computer" icon
    (on your desktop)
    and choose "Properties".
    2. Click on the "Advanced" tab.
    3. Click on the "Environment Variables..." button.
    4. Highlight the "Path" System variable (bottom).
    5. Click on the "Edit..." button.
    6. Append the line with ";C:\Usr\local\bin;"
    7. Click OK (in the "Edit System Variables")
    8. Click OK (in the "Environment Variables" window) and
    click OK
    (in the "System Properties" window)

    • Create the temporary directory used by SDCC:

    C:\Tmp

    • Restart the computer

    Thats it, it should work. Have fun.

    Mitja Kukovec

     
  • gnuman

    gnuman - 2002-06-26

    Logged In: YES
    user_id=188488

    This is only a PATH problem. If people don't know what
    EXPORT PATH= means then.. well :) It's not sdcc

    You need to have path set for the executables or you will
    get "file not found" type of thing.

    In a POSIX dir structure, you just have to have the
    executables in the right directory.

    If you still don't know what's going on, install a nice OS
    like Debian [debian.org] where sdcc comes as a package so
    you don't have to compile it.

     
  • Bernhard Held

    Bernhard Held - 2003-05-08
    • assigned_to: nobody --> bernhardheld
    • status: open --> closed
     
  • Bernhard Held

    Bernhard Held - 2003-05-08

    Logged In: YES
    user_id=203539

    Directory structure on windows has changed with sdcc 2.3.5,
    searching of binaries, headers and libs has significantly
    improved. Please download a snapshot.

     
  • Nobody/Anonymous

    Logged In: NO

    Wow! It's been so long since I posted this (2.5 years) that
    I don't even remember what I wanted to use SDCC for! :)
    It's great to know you guys keep up with bugs even so long
    afterwards. :)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks