#635 Output file not created when specified with -o option

closed-fixed
Erik Petrich
5
2013-05-25
2003-11-13
Anonymous
No

I just downloaded and installed the latest sdcc via
CVS. The make & install execute without error, but
there don't seem to be any *.rel files in the library
path after the install. I installed to /opt/sdcc, and
the directory /opt/sdcc/share/sdcc/lib/small holds lots
of *.asm files, but no *.rel.

I've done some experimenting to try to find the cause
of this problem, and it seems that when I compile a
file with the following options:
sdcc -c test.c
I get the following output files; test.asm, test.lst,
test.sym and test.rel

When I compile with:
sdcc -c -o xxx test.c

I get xxx.asm, xxx.lst, xxx.sym and xxx.rel

BUT, when I compile with:
sdcc -c -o xxx.rel test.c

I get xxx.asm, xxx.lst, and xxx.sym, but no xxx.rel

This seems to be the reason that no *.rel files were
created when I did my build, the build script use the
-o file.rel style option when compiling the libraries.

Any thoughts?

Thanks,
Steve
sag@ollies.net

Discussion

  • Erik Petrich
    Erik Petrich
    2003-11-14

    • milestone: --> fixed
    • assigned_to: nobody --> epetrich
    • status: open --> closed-fixed
     
  • Erik Petrich
    Erik Petrich
    2003-11-14

    Logged In: YES
    user_id=635249

    The left hand of rename knows not what the right hand is doing.

    Fixed in src/SDCCmain.c 1.182