-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/9/10 11:21 AM, Hanspeter Niederstrasser wrote:
> On 3/9/10 10:55 AM, Pranay Airan wrote:
>> Hello,
>>
>> I am facing problem while creating info file, i discuss this problem earlier
>> and got some suggestions but still i am unclear how to proceed
>>
>> in my port when porting for MAC while i am compiling any program which
>> includes *stdlib.h* it gives syntax error, which in turn found to be
>> in *usr/include/mach/i386/_structs.h
>> * where the error is in parsing Bit fields, as MAX and Alexander pointed
>> that problem is in compiler which is not able to parse this bit fields, i
>> want to know why this bit fields are not present in linux and is this header
>> file structure is same for Power PC as well?
>>
>> Also what can be possible solution ? as suggested some solutions are
> 
> 
>> 2) create directory store updated header file and pass it to compiler (this
>> is not clear)
> 
> As stated in the previous message, you have to modify a _LOCAL_ version 
> of that header (local to the build process).  During PatchScript:, copy 
> the header to %b/mach/i386 . Then use the PatchFile (or PatchScript via 
> perl or sed if its an simple fix) to modify the header to whatever 
> solves your compilation problems.  Finally, change your compiler flags 
> (CFLAGS, CPPFLAGS, or whatever), so that -I%b is in front of 
> -I/usr/include.  You'll probably either need to use some SetENVVAR 
> field[2] or modify Makefile.in to change flag ordering so that the 
> compiler sees your modified header instead of the system header.
> 
> Look at http://www.finkproject.org/doc/packaging/format.php?phpLang=en 
> if you're not clear what %b is and 
> http://www.finkproject.org/doc/packaging/reference.php?phpLang=en for 
> using the SetENVVAR fields.
> 
> Hanspeter
> 

There's also the "flag-sort" Fink package.

Trying to recall the prior messages here:

Was the issue with building _this_ package (cilk)?  Or was it with
building using cilk?

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuWedQACgkQB8UpO3rKjQ+mNACeKwByebb8+uFi+QrQV+F3z5By
m8MAn1+fnx+dk4W9uoT0dSMGui6WS9rW
=88fu
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to