Re: trying to build synopsis for FreeBSD 4.7

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.documentation.synopsis
Message-ID <20DCDD8F0FCED411AC4D001083CF504501AA973E@MTL-EXCHANGE>
Hi Vicki,

Vicki Brown wrote:

> At 10:47 -0700 8/17/04, Vicki Brown wrote:

> I've received some great help from the FreeBSD porters folks.
Specifically:
>
>     1) use GCC 3.1 or above (FreeBSD 4.7 shipped with gcc 2.95) - I knew
this
>     already from discussing with you
>
>     2) in synopsis-0.7/Synopsis/Parsers/Cpp/ucpp/eval.c:78 you have to
check for
>     FreeBSD as well (to get ulong typedef'ed). Add
>          '|| defined(__FreeBSD__)'
>
>     We had worked this out already

yes, and it's fixed in the repository. 
(http://synopsis.fresco.org/viewsvn/synopsis-Synopsis?view=rev&rev=1347)

>     4) on fbsd4 you have to link with '-pthread' instead of '-lpthread'.
>     interesting...

gcc supports the '-pthread' option on *some* platforms, and it will (as per
gcc spec file) map to various compiler and linker flags, which are, too, 
platform dependent.

I'll replace the -lpthread flag from the Makefile(s) and instead put
-pthread into the configure.ac files.

> One of the porters created a FreeBSD port, another sent a patch file.

a synopsis patch ? Could you forward it please ?

> I'm still having some trouble using gcc 3.1.1 but things have gotten much
farther.

Excellent !

I'll set up FreeBSD on my home machine sometime soon, then I can help you
better,
I hope...

Regards,
		Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.