OSX warnings and errors (1)
Closed / Fixed930862ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 22 years ago
Descriptionplain2004-04-07 05:31:37
I ran into a problem (acually more) in porting Tcl to MAC_OSX.
I will address each in baby steps so if one rejected we can go
on (hopefully). I make these suggestions believing that it will
help all not just my port.
Note: (1) added to title so if canned we, if you choose, can
continue with the other issues.
Now,
machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5
Since I first tried using it "out of the box",
it worked, but with a ton of warnings and testing
had a ton of fails.
So I tried to start a setup that allowed process of
elimation. I hit a lot of obstacles.
My first suggestion is:
locate all "#include "tcl.h"" directives
place them as the topmost statement (it can be before or
just after a #ifndef __FOO #define __FOO)
and just for cleanliness the surrounding #ifndef _TCL #endif
are unnessary since it is part of "tcl.h"
locate all "#include "tclInit.h"" directives
place them as the topmost statement
if a file has both #include "tcl.h" and #include "tclInit.h"
delete the #include "tcl.h" since tclInit.h includes it.
ditto with the cleanliness.
MAJOR EXECEPTION:
tclStubLib.c MUST HAVE stub define at top (FIRST)
Thanks and I hope I am doing this "bug reporting" right.
Reason for suggestion:
In debugging the configuration script and trying to track other
problems, I created a defines.h, which was a cp of confdefs.h
just before it was deleted by the configure script.
I placed it, and still am using the defines.h, in tcl.h.
However for it to work, the suggestion proposed must be in
place.
This makes it the same as the list of -D switches for the
compiling.
It helped me locate other problems and assured elimation of
some.
tauvanplain2004-05-03 11:52:24
File Added - 85905: c84b_OSX1.patch
das Ticket [930862ffff]: 1 change
[History diff]2004-11-12 16:21:05
hobbsplain2005-05-31 10:12:08
Logged In: YES user_id=72656 working in 8.4 head
Log in (anonymous is fine) to add a comment.
Attachments:
- c84b_OSX1.patch [download] added by tauvan on 2004-05-03 11:52:24. [details]