Re: Error on building cross-gcc
On 12/07/2013 10:14, Diane Bruce wrote: > On Fri, Jul 12, 2013 at 12:06:32AM -0300, Otac?lio wrote: >> Dears >> >> I'm tryning to build cross-gcc with this command line >> >> make TGTARCH=arm TGTABI=freebsd10 >> >> or >> >> make TGTARCH=arm TGTABI=freebsd8 >> >> on a >> >> FreeBSD squitch 8.4-RELEASE FreeBSD 8.4-RELEASE #27: Mon Jun 10 08:52:47 >> BRT 2013 ota@squitch:/usr/obj/usr/src/sys/SQUITCH i386 >> >> >> but all times I got >> >> /usr/ports/devel/cross-gcc/work/build/./gcc/xgcc >> -B/usr/ports/devel/cross-gcc/work/build/./gcc/ >> -B/usr/local/arm-freebsd10/bin/ -B/usr/local/arm-freebsd10/lib/ -isystem >> /usr/ports/devel/cross-gcc/work/build/./gcc -isystem >> /usr/local/arm-freebsd10/include -isystem >> /usr/local/arm-freebsd10/sys-include-g -O2 -pipe >> -fno-strict-aliasing -mbig-endian -O2 -g -O2 -pipe -fno-strict-aliasing >> -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings >> -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes >> -Wold-style-definition -isystem ./include -fno-inline -g >> -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc >> -I. -I. -I../../.././gcc -I../../.././../gcc-4.5.4/libgcc >> -I../../.././../gcc-4.5.4/libgcc/. >> -I../../.././../gcc-4.5.4/libgcc/../gcc >> -I../../.././../gcc-4.5.4/libgcc/../include -DHAVE_CC_TLS -o _muldi3.o >> -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c >> ../../.././../gcc-4.5.4/libgcc/../gcc/libgcc2.c \ >> >> In file included from ../../.././../gcc-4.5.4/libgcc/../gcc/tsystem.h:44:0, >> from ../../.././../gcc-4.5.4/libgcc/../gcc/libgcc2.c:29: >> /usr/ports/devel/cross-gcc/work/build/./gcc/include/stddef.h:59:24: >> fatal error: sys/_types.h: No such file or directory >> compilation terminated. >> gmake[4]: ** [_muldi3.o] Erro 1 > > Did you compile cross-binutils first? > > Check back next week. Work is being done on this port. >> >> >> Someone can give me a hint about what is happen? >> >> Thanks a lot >> -Otacilio >> ___ Yes I compile cross-binutils first. It is a dependency. Thank you! ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Error on building cross-gcc
Dears I'm tryning to build cross-gcc with this command line make TGTARCH=arm TGTABI=freebsd10 or make TGTARCH=arm TGTABI=freebsd8 on a FreeBSD squitch 8.4-RELEASE FreeBSD 8.4-RELEASE #27: Mon Jun 10 08:52:47 BRT 2013 ota@squitch:/usr/obj/usr/src/sys/SQUITCH i386 but all times I got /usr/ports/devel/cross-gcc/work/build/./gcc/xgcc -B/usr/ports/devel/cross-gcc/work/build/./gcc/ -B/usr/local/arm-freebsd10/bin/ -B/usr/local/arm-freebsd10/lib/ -isystem /usr/ports/devel/cross-gcc/work/build/./gcc -isystem /usr/local/arm-freebsd10/include -isystem /usr/local/arm-freebsd10/sys-include-g -O2 -pipe -fno-strict-aliasing -mbig-endian -O2 -g -O2 -pipe -fno-strict-aliasing -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-inline -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../.././gcc -I../../.././../gcc-4.5.4/libgcc -I../../.././../gcc-4.5.4/libgcc/. -I../../.././../gcc-4.5.4/libgcc/../gcc -I../../.././../gcc-4.5.4/libgcc/../include -DHAVE_CC_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../.././../gcc-4.5.4/libgcc/../gcc/libgcc2.c \ In file included from ../../.././../gcc-4.5.4/libgcc/../gcc/tsystem.h:44:0, from ../../.././../gcc-4.5.4/libgcc/../gcc/libgcc2.c:29: /usr/ports/devel/cross-gcc/work/build/./gcc/include/stddef.h:59:24: fatal error: sys/_types.h: No such file or directory compilation terminated. gmake[4]: ** [_muldi3.o] Erro 1 Someone can give me a hint about what is happen? Thanks a lot -Otacilio ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Re: Writing a (BSD like) Operating Systems From Scratch
On 24/05/2013 15:45, Florent Peterschmitt wrote: > Le 24/05/2013 18:57, Welcome, Traiano a écrit : >> Hi Julian >> >> Thanks, any response is appreciated, here's mine: >> >> >>> -Original Message- >>> From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd- >>> hack...@freebsd.org] On Behalf Of Julian H. Stacey >>> Sent: 24 May 2013 15:39 >>> To: Welcome, Traiano >>> Cc: freebsd-hackers@freebsd.org >>> Subject: Re: Writing a (BSD like) Operating Systems From Scratch >>> >>> "Welcome, Traiano" wrote: Hi All I've been read thousands of pages of FreeBSD and Linux Kernel source >>> code and books on the internals of BSD and Linux over the years in >>> attempt >>> to develop a complete understanding of operating systems (or at >>> least, UNIX >>> like ones). However, I feel that I'm as mystified as to the finer >>> details as >>> when I first started. So I've concluded that the best way to really >>> understand >>> the deep dark details of UNIX is to try and write one from scratch >>> (using the >>> general guidelines of standards like POSIX etc ...), and maybe taking >>> a peek at >>> BSD and Linux from time to time. My questions around this are: >>> >>> Sorry, but your questions & text (see mega line above, no folds ! >>> Ugh) tell me >>> >>> A) You dont know enough, & would be better working with an >>> existing >>>project, be it a BSD Linux Minix Sprite Mach whatever. Maybe >>>also doing some formal training in OSs eg a Uni. degree >>>in computing or whatever. >> >> >> Right on the mark, Julian! The don't know enough part especially, >> hence the _questions_ (Normally asked by people who don't know enough). >> May I ask where you get the divine wisdom to know where I "would be >> better working with" ? don't you think that would be best left up to me? >> So what if formal training in OSes is not an option to me ? Not all of >> us have the wealth and time, nor privilege of coming from a family >> that can >> afford such an education, like myself for example. What do you >> recommend for those of us who have neither the wealth nor luxury of >> time to pursue >> " a Uni. degree in computing or whatever." ? >> >> You appear not to realize that to even begin working with one of the >> existing projects, you'd best have a solid understanding of OSes to >> begin with, >> which brings up an interesting catch -22 that goes something like: >> >> "You can't join the club, because you don't know enough. You can't >> know enough 'till you join our club". >> >> Is that the case or am I mistaken ? > > I don't think there is any kind of "club". There are just peoples that > know better than others how does works one or many parts of the system, > but not the entire system and other peoples krowing other parts, etc. > > You'll see (if not already) that everytime you discover new things, you > discorver in the same time there is a lot to do more ! Even on a little > system on a classic computer (ARM, x86…) > >>> >>> B) You havent realised technology is moving faster & with ever more >>>more people working on OSs & tools, its like looking in >>>from the edge of an exploding galaxy & trying to understand >>>all within: by the time you do, its grown ! >>> >> >> May I ask how you jumped to that conclusion? What makes you think I >> want to keep at the cutting edge of everything? >> All I want to begin at the very basis and build up from there at my >> own pace, until I'm capable of building something very >> Basic, functional and something I can use to illustrate to myself the >> design principles involved in building operating systems. >> >> >>> C) If people devoted tons of time over years to help you along, >>>it would be their & your time wasted to achieve anothernice >>>OS time that would be better spent if you & they worked >>>together on improving an existing OS - see (A) above. >> >> >> Where did you get the idea that I'm asking for tons of time over years >> ? Have you a record of me going around the internet pestering people >> for answers on how to build operating systems? All I asked for was a >> couple of links and pointers, maybe a good book or two. Besides, I'd >> be of no using helping to build spacecraft if I can barely build a >> cart, so no, my time would not be better spent helping people who >> really have a clue to improve existing OSes. > > Dont be so aggressive. He is juste saying it has much more chances to be > a waste of time to _start and continue_ developping from scratch than > continue developping existing projects. Starting from scratch is > absolutely not the only way to learn by ourself. >> >>> Sorry it's not what you want to hear but modern OS are too big for >>> 1 man, & evolving too fast, even those called Jollitz Tannenbaum or >>> Linus, got >>> replaced/ supplemented by Teams. Choose a project team & an aspect/ >>> technology within the team, & that will be useful not a wast
Re: considering i386 as a tier 1 architecture
On 01/04/2013 23:11, Joe Holden wrote: > Adrian Chadd wrote: >> Why stop there? >> >> Noone runs FreeBSD on real hardware anymore. Except, say netflix. >> I run on my personal notebook. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Re: lib for working with graphs
On 28/11/2012 13:36, Mehmet Erol Sanliturk wrote: > On Wed, Nov 28, 2012 at 6:37 AM, Andriy Gapon > wrote: > >> on 28/11/2012 16:31 David Wolfskill said the following: >>> On Wed, Nov 28, 2012 at 04:20:28PM +0200, Andriy Gapon wrote: Does anyone know a light-weight BSD-licensed (or analogous) library / >> piece of code for doing useful things with graphs? Thank you. >>> >>> Errr "graphs" is fairly ambiguous, and "things with graphs" >>> covers a very wide range of activities. >> >> Graphs as in vertices, edges, etc :) And things like graph >> basics: BFS, DFS, connected components, topological sort, etc >> >>> ports/math/R may be useful for this -- I use it to generate >>> graphs (and perform statistical analyses). >>> >>> ports/graphics/plotmtv is possibly of some interest, as well, >>> as it allows a certain level of interactivity (though the code >>> hasn't been updated in quite some time -- but it still works). >>> >>> If neither of those suits your intent, perhaps you could expand >>> a bit on what that intent is? >> >> And, big oops sorry, forgot one very important detail - it has to >> be C. >> >> -- Andriy Gapon >> > > > > > http://en.wikipedia.org/wiki/JUNG > http://en.wikipedia.org/wiki/Xfig > http://en.wikipedia.org/wiki/SVG-edit > > > http://en.wikipedia.org/wiki/Category:Graph_drawing_software > http://en.wikipedia.org/wiki/Comparison_of_vector_graphics_editors > http://en.wikipedia.org/wiki/Category:Free_diagramming_software > > > Thank you very much . > > Mehmet Erol Sanliturk Err, someone knows a library that implements the hmetis algorithm and run on FreeBSD? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
Re: How to claim only some of USB interfaces of a composite USB device
On 29/09/2012 06:25, geoffrey levand wrote: > Hi, > > thanks for the info, it helped me to find a solution but not sure if it's a > proper one. > Here is the patch i used to fix the problem on FreeBSD 9.1. > > Index: sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c > === > --- sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c (revision 240846) > +++ sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c (working copy) > @@ -439,6 +439,7 @@ > struct ubt_softc*sc = device_get_softc(dev); > struct usb_endpoint_descriptor *ed; > struct usb_interface_descriptor *id; > + struct usb_interface*iface; > uint16_twMaxPacketSize; > uint8_t alt_index, i, j; > uint8_t iface_index[2] = { 0, 1 }; > @@ -555,9 +556,16 @@ > } > > /* Claim all interfaces on the device */ > - for (i = 1; usbd_get_iface(uaa->device, i) != NULL; i ++) > - usbd_set_parent_iface(uaa->device, i, uaa->info.bIfaceIndex); > + for (i = 1; (iface = usbd_get_iface(uaa->device, i)) != NULL; i ++) { > + id = usbd_get_interface_descriptor(iface); > > + if (id && (id->bInterfaceClass == UICLASS_WIRELESS) && > + (id->bInterfaceSubClass == UISUBCLASS_RF) && > + (id->bInterfaceProtocol == UIPROTO_BLUETOOTH)) { > + usbd_set_parent_iface(uaa->device, i, > uaa->info.bIfaceIndex); > + } > + } > + > return (0); /* success */ > > detach: > = EOF === > > > regards > > This looks like ok to apply to 8.3 also. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"