imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610
Gerrit P. Haase
gerrit@familiehaase.de
Wed Jan 4 13:20:00 GMT 2006
Vijay schrieb:
> <snip>
>> #ifdef __EMX__
>> /* Due to strange behaviour of as.exe we use this macros */
>> /* For all OS/2 coders - please use PGCC to compile this code */
>> #define PR_(foo) ___##foo
>> #define PT_(foo,func) ___##foo,##func
>> #define SIZE(sym) \
>> .___end_##sym:; \
>> .size ___##sym,.___end_##sym-___##sym; \
>> .align 8;
>> #else
>> #define PR_(foo) __##foo
>> #define PT_(foo,func) __##foo,##func
>> #define SIZE(sym) \
>> .__end_##sym:; \
>> .size __##sym,.__end_##sym-__##sym; \
>> .align 8;
>> #endif
>>
>> So it may work without problems.
>>
>> If not try if it works when defining
>> #if defined(__EMX__) || defined(__CYGWIN__)
>> instead of
>> #ifdef __EMX__
>> at the beginning of this file and see if there are similar definitions
>> at the beginning of other assembler files, it seems that EMX has the
>> same problems.
>>
> still the same problems.
What are the exact error messages this time?
>>
>> > Well why do the following psuedo-ops fail with cygwin 'as.exe'
>> > .type
>> > .comm a,b,c
>> > .size
>>
>> Should work to remove the lines.
> Could you please tell(explain) me why these do not work under cygwin?
No sorry, I don't know. It simply doesn't work.
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list