Re: [Factor-talk] FreeBSD 10 amd64 supported?

2015-07-09 Thread John Benediktsson
We used to have BSD support but it wasn't easy to maintain for each of
 FreeBSD, OpenBSD, and NetBSD, and it seemed no one used it, so it was
removed awhile back:


https://github.com/slavapestov/factor/commit/8cf18d1a82f08d1e9edf20f38b42eb1699ca0e67

Perhaps that commit can give you a rough idea of what would be required to
make it work.

If it's something you really want, I'd be happy to help, although I need to
setup a good FreeBSD test machine to use.

What are your thoughts on supporting all the BSD's?

Best,
John.




On Thu, Jul 9, 2015 at 6:03 AM, Björn Lindqvist bjou...@gmail.com wrote:

 Are you able to build the factor binary? That's the first step. It's
 hard to see in the diff in your repo what could be wrong. You could
 try adding:

 #define __linux__ 1

 to the top of platform.hpp and then run make linux-x86-64 or make
 linux-x86-32, depending on your cpu arch. That should give you a
 runnable factor binary. There are a few steps after that too, but it
 is easiest to learn the process one step at a time.

 2015-07-09 11:53 GMT+02:00 Dave Cottlehuber d...@skunkwerks.at:
  Hi,
 
  I'm new to factor  forthy languages.
 
  I forked [1]  started looking at building factor on FreeBSD 10.1 amd64,
  but ran into some trouble compiling. I made some changes[2] but
  ultimately got lost in the makefile stuff. Is anybody more familiar with
  how this should work? This seems like it's almost there: [3].
 
  GIT_URL=git://github.com/dch/factor.git ./build-support/factor.sh update
  | tee /ramdisk/factor-build-FreeBSD-10.1-amd64.log | dpaste
 
  [1]: http://github.com/dch/factor
  [2]: https://github.com/dch/factor/commit/faacbb5
  [3]: https://dpaste.de/tRb9
 
 
 --
  Don't Limit Your Business. Reach for the Cloud.
  GigeNET's Cloud Solutions provide you with the tools and support that
  you need to offload your IT needs and focus on growing your business.
  Configured For All Businesses. Start Your Cloud Today.
  https://www.gigenetcloud.com/
  ___
  Factor-talk mailing list
  Factor-talk@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/factor-talk



 --
 mvh/best regards Björn Lindqvist


 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] FreeBSD 10 amd64 supported?

2015-07-09 Thread John Benediktsson
We could, although I've generally been in favor of writing the low-level
code ourselves so we have few library dependencies.  That doesn't always
work out, and it would be cool to have a ``libuv`` io-backend that is more
portable.

On Thu, Jul 9, 2015 at 10:10 AM, Björn Lindqvist bjou...@gmail.com wrote:

 Maybe that's a good argument for using libuv
 (https://github.com/libuv/libuv)? The big problem with bsd appears to
 be that its io system is different so it's hard to keep it up to date.
 libuv provides an async io layer which is the same on windows, mac,
 linux, bsd and others. So you would only have code for one api (libuv)
 than for each os.

 2015-07-09 16:49 GMT+02:00 John Benediktsson mrj...@gmail.com:
  We used to have BSD support but it wasn't easy to maintain for each of
  FreeBSD, OpenBSD, and NetBSD, and it seemed no one used it, so it was
  removed awhile back:
 
 
 
 https://github.com/slavapestov/factor/commit/8cf18d1a82f08d1e9edf20f38b42eb1699ca0e67
 
  Perhaps that commit can give you a rough idea of what would be required
 to
  make it work.
 
  If it's something you really want, I'd be happy to help, although I need
 to
  setup a good FreeBSD test machine to use.
 
  What are your thoughts on supporting all the BSD's?
 
  Best,
  John.
 
 
 
 
  On Thu, Jul 9, 2015 at 6:03 AM, Björn Lindqvist bjou...@gmail.com
 wrote:
 
  Are you able to build the factor binary? That's the first step. It's
  hard to see in the diff in your repo what could be wrong. You could
  try adding:
 
  #define __linux__ 1
 
  to the top of platform.hpp and then run make linux-x86-64 or make
  linux-x86-32, depending on your cpu arch. That should give you a
  runnable factor binary. There are a few steps after that too, but it
  is easiest to learn the process one step at a time.
 
  2015-07-09 11:53 GMT+02:00 Dave Cottlehuber d...@skunkwerks.at:
   Hi,
  
   I'm new to factor  forthy languages.
  
   I forked [1]  started looking at building factor on FreeBSD 10.1
 amd64,
   but ran into some trouble compiling. I made some changes[2] but
   ultimately got lost in the makefile stuff. Is anybody more familiar
 with
   how this should work? This seems like it's almost there: [3].
  
   GIT_URL=git://github.com/dch/factor.git ./build-support/factor.sh
 update
   | tee /ramdisk/factor-build-FreeBSD-10.1-amd64.log | dpaste
  
   [1]: http://github.com/dch/factor
   [2]: https://github.com/dch/factor/commit/faacbb5
   [3]: https://dpaste.de/tRb9
  
  
  
 --
   Don't Limit Your Business. Reach for the Cloud.
   GigeNET's Cloud Solutions provide you with the tools and support that
   you need to offload your IT needs and focus on growing your business.
   Configured For All Businesses. Start Your Cloud Today.
   https://www.gigenetcloud.com/
   ___
   Factor-talk mailing list
   Factor-talk@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/factor-talk
 
 
 
  --
  mvh/best regards Björn Lindqvist
 
 
 
 --
  Don't Limit Your Business. Reach for the Cloud.
  GigeNET's Cloud Solutions provide you with the tools and support that
  you need to offload your IT needs and focus on growing your business.
  Configured For All Businesses. Start Your Cloud Today.
  https://www.gigenetcloud.com/
  ___
  Factor-talk mailing list
  Factor-talk@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/factor-talk
 
 
 
 
 --
  Don't Limit Your Business. Reach for the Cloud.
  GigeNET's Cloud Solutions provide you with the tools and support that
  you need to offload your IT needs and focus on growing your business.
  Configured For All Businesses. Start Your Cloud Today.
  https://www.gigenetcloud.com/
  ___
  Factor-talk mailing list
  Factor-talk@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/factor-talk
 



 --
 mvh/best regards Björn Lindqvist


 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.

Re: [Factor-talk] FreeBSD 10 amd64 supported?

2015-07-09 Thread Björn Lindqvist
Are you able to build the factor binary? That's the first step. It's
hard to see in the diff in your repo what could be wrong. You could
try adding:

#define __linux__ 1

to the top of platform.hpp and then run make linux-x86-64 or make
linux-x86-32, depending on your cpu arch. That should give you a
runnable factor binary. There are a few steps after that too, but it
is easiest to learn the process one step at a time.

2015-07-09 11:53 GMT+02:00 Dave Cottlehuber d...@skunkwerks.at:
 Hi,

 I'm new to factor  forthy languages.

 I forked [1]  started looking at building factor on FreeBSD 10.1 amd64,
 but ran into some trouble compiling. I made some changes[2] but
 ultimately got lost in the makefile stuff. Is anybody more familiar with
 how this should work? This seems like it's almost there: [3].

 GIT_URL=git://github.com/dch/factor.git ./build-support/factor.sh update
 | tee /ramdisk/factor-build-FreeBSD-10.1-amd64.log | dpaste

 [1]: http://github.com/dch/factor
 [2]: https://github.com/dch/factor/commit/faacbb5
 [3]: https://dpaste.de/tRb9

 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk



-- 
mvh/best regards Björn Lindqvist

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk