!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

338 Members
104 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
14 Jan 2024
@samueldr:matrix.org@samueldr:matrix.org trofi you missed it yesterday, I think, but I have a hacked-up "improper" setup building their samples already 21:44:21
@trofi:matrix.org@trofi:matrix.orgaha, nice!21:44:33
@samueldr:matrix.org@samueldr:matrix.orgbut it's not relying on Nixpkgs to do cross21:44:35
@samueldr:matrix.org@samueldr:matrix.orgit's "just" the packages and some environmental hacking to make it work like their "SDK" does21:45:07
@samueldr:matrix.org@samueldr:matrix.orgit's relatively straightforward, I think21:45:16
@trofi:matrix.org@trofi:matrix.org nod 21:45:21
@samueldr:matrix.org@samueldr:matrix.org I meant, their SDK is straightforward 21:45:35
@trofi:matrix.org@trofi:matrix.org gcc before 3.3 had a slightly different bin directory layout from cross-compiling. i wonder if you had to deal with it. 21:45:38
@samueldr:matrix.org@samueldr:matrix.org http://www.chokanji.com/developer/download.html 21:46:41
@samueldr:matrix.org@samueldr:matrix.orgknowing that, I understand that I was observing21:47:17
@samueldr:matrix.org@samueldr:matrix.organd I had to deal with it, but it wasn't that much of a deal, since I had their SDK to ape21:47:31
@samueldr:matrix.org@samueldr:matrix.org
for PROG in ''${PROGS[@]}; do
  ln -sf ${binutils}/bin/i386-unknown-gnu-$PROG $PROG
done
21:47:40
@samueldr:matrix.org@samueldr:matrix.orgstuff like that I think you meant?21:47:48
@samueldr:matrix.org@samueldr:matrix.orgoh, and for the new folks reading today: there is no stakes here... I'm doing it for the fun of deepening my understanding of non-trivial cross21:48:19
@trofi:matrix.org@trofi:matrix.org

Yeah, and lib paths like

+if tc_version_is_at_least 3.4.0 ; then
+       LIBPATH=${TOOLCHAIN_LIBPATH:-${PREFIX}/lib/gcc/${CTARGET}/${GCC_CONFIG_VER}}
+else
+       LIBPATH=${TOOLCHAIN_LIBPATH:-${PREFIX}/lib/gcc-lib/${CTARGET}/${GCC_CONFIG_VER}}
+fi
21:50:28
@samueldr:matrix.org@samueldr:matrix.org *
cd lib/gcc-lib/i386-unknown-gnu/$version
# ...
for PROG in ''${PROGS[@]}; do
  ln -sf ${binutils}/bin/i386-unknown-gnu-$PROG $PROG
done
21:50:53
@samueldr:matrix.org@samueldr:matrix.org *
cd $out/lib/gcc-lib/i386-unknown-gnu/$version
# ...
for PROG in ''${PROGS[@]}; do
  ln -sf ${binutils}/bin/i386-unknown-gnu-$PROG $PROG
done
21:51:04
@samueldr:matrix.org@samueldr:matrix.orgyeah, added some context21:51:12
@samueldr:matrix.org@samueldr:matrix.orgknowing that might have allowed me to try a newer gcc in the "non-nixpkgs" setup... still might allow21:51:42
@samueldr:matrix.org@samueldr:matrix.org though I have good enough hints to know that newer gcc should also just work 21:51:59
@samueldr:matrix.org@samueldr:matrix.org https://github.com/samueldr/nixpkgs/commits/wip/brightv-cross 22:31:53
@samueldr:matrix.org@samueldr:matrix.orgjust finished looking/trying/packaging22:32:11

Show newer messages


Back to Room ListRoom Version: 6