Menu

#3590 Out-of-tree cross-build for ming32 on GNU/Linux fails

closed-works-for-me
None
other
5
2023-05-17
2023-05-17
No

On GNU/Linux, I can do native in-tree builds. Using the attached patch, I can also do in-tree cross builds for ming32. But when I try to do an out-of-tree cross-build, it fails:

philipp@notebook6:/tmp/sdcc-build$ ../sdcc-2/support/scripts/sdcc_mingw32 
checking build system type... x86_64-pc-linux-gnu
[]
i686-w64-mingw32-gcc -I/tmp/boost_1_82_0 -I. -I../../ -I../../../sdcc/debugger/mcs51/../.. -I../../../sdcc/debugger/mcs51/../../support/util -DHAVE_CONFIG_H -pipe -ggdb -g -O2 -Wall -c -o SDCCerr.o ../../../sdcc/debugger/mcs51/../../src/SDCCerr.c
i686-w64-mingw32-gcc  -o ../..//bin/sdcdb.exe sdcdb.o symtab.o simi.o break.o cmd.o NewAlloc.o dbuf.o dbuf_string.o SDCCset.o SDCChasht.o SDCCerr.o  -lws2_32  
/usr/bin/i686-w64-mingw32-ld: cannot find sdcdb.o: Datei oder Verzeichnis nicht gefunden
[]
i686-w64-mingw32-g++ -Wall -Wno-overloaded-virtual -g -O2 -ggdb -pipe  -I. -I/tmp/boost_1_82_0 -I. -I../../../sdcc/sim/ucsim -I../../../sdcc/sim/ucsim/sim.src -I../../../sdcc/sim/ucsim/cmd.src -I../../../sdcc/sim/ucsim/gui.src  -c ../../../sdcc/sim/ucsim/option.cc -o option.o
i686-w64-mingw32-ar -rc libucsimutil.a pobj.o globals.o utils.o error.o app.o option.o chars.o fio.o fwio.o
i686-w64-mingw32-ar: pobj.o: Datei oder Verzeichnis nicht gefunden
make[3]: *** [main.mk:133: libucsimutil.a] Fehler 1
[]

P.S.: The German "Datei oder Verzeichnis nicht gefunden" means "File or directory not found".

1 Attachments

Related

Wiki: NGI0-Entrust-SDCC

Discussion

  • Philipp Klaus Krause

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -On GNU/Linux, I can do native in-tree and out-of-tree build. Using the attached patch, I can also do in-tree cross builds for ming32. But when I try to do an out-of-tree cross-build, it fails:
    +On GNU/Linux, I can do native in-tree builds. Using the attached patch, I can also do in-tree cross builds for ming32. But when I try to do an out-of-tree cross-build, it fails:
    
     ~~~~
     philipp@notebook6:/tmp/sdcc-build$ ../sdcc-2/support/scripts/sdcc_mingw32 
    
     
  • Philipp Klaus Krause

    • summary: Out-of-tree cros-build for ming32 on GNU/Linux fails --> Out-of-tree cross-build for ming32 on GNU/Linux fails
     
  • Philipp Klaus Krause

    • status: open --> closed-works-for-me
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    Hmm. When I tried to reproduce this again, the build actually works.

     

Log in to post a comment.

MongoDB Logo MongoDB