-
cpet
I see a few AX201 with different PCIID's
-
andrewrk
I'm looking to obtain a build of freebsd libc headers for every target. how might I accomplish this?
-
cpet
they all share some code
-
andrewrk
I'm aware
-
cpet
and I think libc is one of them so /usr/include/* should be what you need
-
andrewrk
there are per-arch generated files such as machine/_types.h
-
cpet
fetch the code and do a manually do it
-
andrewrk
manually do what?
-
Reinhilde
dunno
-
cpet
read?
-
Erhard
andrewrk: What is your actual usage for this " build of freebsd libc headers for every target" ??
-
Erhard
Might help people help you
-
andrewrk
Erhard, I'm looking into adding support into the zig compiler for targeting freebsd libc when cross compiling
-
Erhard
So could you not just git the source and compile it?
-
cpet
cd /usr/src ; vim Makefile
-
cpet
tell you how to do it hence my "read"
-
Erhard
zig handles multiple languages and targets like clang or gcc ? I know nothing about it
-
Erhard
YEah, basically, cpet
-
cpet
and there a reason why build systems are the arch to be built for
-
cpet
as cross compiling is kind of a pain
-
Erhard
ziglang.org interesting... kind of
-
VimDiesel
Title: Home ⚡ Zig Programming Language
-
Erhard
Seems like every three or four years something great like that comes along. And rarely ever gets used.
-
Erhard
Of course this could be different, especially if you contribute to it
-
cpet
POSIX has a common set of includes and the compile links to libc
-
cpet
so not really sure what he needs the includes for each arch
-
andrewrk
Erhard, so you are suggesting to perform the build on each architecture? or perhaps there is a handy way to cross compile FreeBSD for any target from the x86_64 host?
-
cpet
hrm told you how
-
Erhard
I htink there is, but I no expert on cross compiling.
-
cpet
well that fixed that
-
Erhard
But step one would be to get it working on x86 or whatever your platform of choice is.
-
andrewrk
nah that's baby stuff. I need a 13.1 build for every supported arch, and a 12.3 build for every supported arch
-
Erhard
LOL. Then fire up some VMs
-
andrewrk
haha well that's the worst case scenario. I haven't given up there being a better way yet :)
-
cpet
-
VimDiesel
Title: Makefile - src - FreeBSD source tree
-
cpet
# toolchains - Build a toolchain for all world and kernel targets.
-
cpet
seriosuly yo ?
-
Erhard
Listen to cpet
-
cpet
like I said "read"
-
Erhard
It should all be common from make, no?
-
cpet
we aren;t going to hold your hand to get yet another compiler to work if you cant do the bare minimum of getting headers for arch
-
andrewrk
thanks cpet. I haven't been ignoring your advice, just waiting for git: Resolving deltas: 78% (305096/387727)
-
Erhard
Maybe switch everything to GNU autoconf while you are at it
-
» Erhard ducks
-
cpet
autotools you only need 1 thing m4
-
cpet
mason and all the other perl python crtap you need a bnunch of py or p5
-
Erhard
Yeah, I set a bunch of project up to use it years ago, actually pretty slick.
-
cpet
kind of defeats the purpose
-
cpet
I tried to port bitchx to cmake
-
cpet
:P
-
andrewrk
what I will do is completely ignore freebsd's build system, then hard code the logic in an imperative manner, just as I have already done for musl, mingw-w64, and glibc
-
Erhard
LOL. I never really got cmake.
-
Erhard
I mean, I guess I never used it much, and it was a headache because sometimes it was hard to install certain places.
-
cpet
cmake mason
-
cpet
think I tried to port a project that had 3 different compiling tools included
-
cpet
pick one and use it
-
Erhard
I don't know which mason you are referring to.
-
Erhard
-
VimDiesel
Title: The Mason Open Source Project on Open Hub
-
cpet
meson*
-
cpet
:)
-
Erhard
-
Erhard
Ah
-
VimDiesel
Title: Meson - Open Source Agenda
-
Erhard
Never tried it
-
» mason twitches repeatedly.
-
» cpet hands mason a NOS
-
Erhard
New Old Stock
-
cpet
not everyone wants to deal with autotools
-
andrewrk
ugh the Makefile is not compatible with gnu make
-
Erhard
No doubt. Not everyone wants to deal with python
-
cpet
well if you compare m4 to python :)
-
Erhard
Toche
-
cpet
python is "easier"
-
Erhard
touche even
-
Erhard
YEah
-
Erhard
M4 is horrid
-
cpet
but then again bsd make Makefiles are simple to read and understand
-
Erhard
Handwritten makefiles work decently for smaller stuff
-
Erhard
Though some system is nice to test for libs, etc.
-
cpet
when youre forced to use something
-
cpet
I hated git but now I can deal with it ;P
-
Erhard
It's much nicer to see "libtwitter not found" than it is to get "tweet() undeclared in this context. compilation failed"
-
Erhard
Yeah, I still am no git master.
-
Erhard
Was pretty decent with cvs
-
Erhard
I don't code enough to need and RCS at this point. Kinda wish I did, but not my main thing anymore
-
dmgk
andrewrk: are you trying to build the base system or just need the headers? if latter, then you could just pull base.txz from e.g.
download.freebsd.org/releases/amd64/12.3-RELEASE and get /usr/include from it
-
VimDiesel
Title: Index of /releases/amd64/12.3-RELEASE/
-
andrewrk
dmgk, aha, thank you! I tried doing that with
download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/13.1 but the images didn't have any .h files. where did you get that other link just now?
-
VimDiesel
Title: Index of /releases/amd64/amd64/ISO-IMAGES/13.1/
-
dmgk
andrewrk:
download.freebsd.org/releases has all supported archs
-
VimDiesel
Title: Index of /releases/
-
andrewrk
thanks!
-
andrewrk
why does the powerpc one have a 13.1-RELEASE/ folder, but then also has subfolders, e.g. powerpc64/ that also have 13.1-RELEASE/ folders?
-
dmgk
probably just symlinks
-
andrewrk
gotcha
-
koobs
morning
-
andrewrk
dmgk, hmm is there one for armv6 and armv7?
-
dmgk
there are no releases for arm6 and arm7, but you could grab snapshot tarballs from the ci, like
artifact.ci.freebsd.org/snapshot/12…8afa6bc45ab0885d083d6f9da2e6024/arm
-
VimDiesel
Title: Index of /snapshot/12.3-STABLE/00d2b8d5d8afa6bc45ab0885d083d6f9da2e6024/arm/
-
dmgk
-
VimDiesel
Title: Index of /snapshot/12.3-STABLE/6a9031c5e2ba5435aa4ea08ee05c351d5bef035d/arm/
-
andrewrk
thanks!
-
dmgk
np
-
Grell
Hello friends
-
pesdauskes
hi
-
Midjak
using git in freebsd is a great idea. I don't know since when it is but that's very cool
-
Reinhilde
git is gpl'd.
-
F0ma
hi
-
F0ma
anyone updated xrdp lately and have issues about it ?
-
parv
Better would be just ask about the issue instead of who had the issue
-
F0ma
ok :)
-
F0ma
have this error on xrdp-sesman.log
-
F0ma
There is no X server active on display 14
-
F0ma
A fatal error has occurred attempting to start the window manager on display 14, aborting connection
-
vxwarlock
how to use ip command instead of ifconfig | freebsd
-
Reinhilde
you don't :)
-
Reinhilde
ifconfig is the way and the light. i miss it when I have to use L*n*x.
-
vxwarlock
Reinhilde > oh Thanks for answer
-
Midjak
Hey ! I am trying to upgrade freebsd 13.1 to CURRENT. At the last step 'etcupdate -B' fails with 'Conflicts remain from previous update, aborting'
-
Midjak
koobs, I've just upgrade freebsd to current it works now
-
tercaL
I'd like to set a folder so that my local (samba) users could add files inside it, but not list contents of that folder. With that, I want to achieve everyone can put their files there but never see what's inside there.
-
tercaL
Is this possible with chmod?
-
Midjak
Reinhilde, I don't know if ti's a good thing, but git is easier to use
-
Reinhilde
for freebsd it is not good
-
tercaL
I guess I solved it now with chmod 733 foldername
-
Midjak
so why git ?
-
Midjak
there is no alternatives proposed in the guide. git is not used in the BSD code but as a tool so I am not sure there is incompatibilities with GPL, no ?
-
vxwarlock
send ip sendto : no buffer space available > I have trouble in hping3 | vmware on freebsd 13 | do you have any solution suggestions?
-
Reinhilde
???????
-
vxwarlock
Reinhilde : I'm using hping on freebsd 13.1. but > I get the error send_ip sendto : no buffer space available.
-
weust
I am trying to setup linuxulator but when I run debootstrap I get the following message using both doas under my account, or root: "/usr/local/sbin/debootstrap: Permission denied." I can't seem to figure out what the issue is. permissions on the file are fine.
-
weust
Creating /compat/ubuntu doesn't help either
-
weust
what could I be missing?
-
weust
I am on 13.1-RELEASE-p2
-
weust
I am reading some old comments online about encrypted drives. I am using ZFS with GELI on this laptop...
-
rtprio
tercaL: write only should be possible with samba
-
darwin
anyone use BitlBee on Slackware 15+current and figured out if something needs fixing?
-
weust
Slackware? Think you got the wrong channel there?
-
koobs
Midjak: lovely!