Re: trying to build synopsis for FreeBSD 4.7

Vicki Brown <[email protected]>
Newsgroups gmane.comp.documentation.synopsis
Message-ID <p061104dabd5cf695bc35@[10.1.1.144]>
At 10:47 -0700 8/17/04, Vicki Brown wrote:
>>From: Stefan Seefeld <[email protected]>
>>To:  [email protected]
>>
>>your platform doesn't appear to define the 'ulong' type.
>>In line 78 please add an entry for freebsd (don't know
>>what the appropriate macro is, you may try '__FreeBSD__')
>>and try again.

>
>Now I'm stuck wiith a broken math library.


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

	3) the math.h header needs to be included before the math functions are
	used.  (duh :)

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


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

I'm still having some trouble using gcc 3.1.1 but things have gotten 
much farther.
-- 
- V.
Vicki Brown <[email protected]>
Internal Technical Documentation:  Review, Edit, (Re)Write
     Overviews, Specs, Web Pages, Process Descriptions, ...
Contact: Jabber: vlbrown <> AIM: vlbRemote <> Rendezvous <> YahooIM: vlbAtWork
About: http://www.cfcl.com/vlb/Jobweb/   <>  Demo: 
http://catnip.ironport.com/~vlbrown/
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.