--
l/ // Ross Ridge -- The Great HTMU
[oo][oo] [EMAIL PROTECTED]
-()-/()/ http://www.csclub.uwaterloo.ca/u/rridge/
db //
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com
instead of linking with a command that looks something like this:
gcc -o foo.exe obj1.o obj2.o ... obj7.o -lbar -lbaz
Use something like this:
gcc -o foo.exe my-ld-script -lbar -lbaz
Ross Ridge
--
l/ // Ross Ridge
r is this=two
test:
echo $(foo This isn't a valid make function)
echo $(bar Neither is this)
Ross Ridge
--
l/ // Ross Ridge -- The Great HTMU
[oo][oo] [EMAIL PROTECTED]
-()-/()/ http://www.csclub.uwaterloo
-byte aligned.
>Take note that my app doesn't generate sse1/2 on its own, it all comes
>from gcc.
Well, that makes the workaround simple, just use the "-mno-sse",
"-mno-sse2" options, don't use the "-mfpmath=sse" option and GCC shouldn't
generate
Ross Ridge wrote:
> Normally it's not a problem, but if you have any callbacks in your code
> (eg. the one that starts the secondary thread) that are called by library
> functions not compiled with GCC, then the stack can get misaligned.
tbp wrote:
> Every library under my contro
ve a 16-byte aligned stack in between the time
mainCRTStartup() is called by Windows and main() is called by Cygwin.
But, I notice that on my machine that Windows just happens to call
mainCRTStartup() with a 16-byte aligned stack.
Ross Ridge
--
l/
ry (put in .rdata with 4 byte alignement as pointed out
>by Ross Ridge):
...
>40872a: xorps 0x43b33c,%xmm2
>40ab83: andps 0x43b8ec,%xmm0
...
>I guess i could try to track those constants and put them in their own
>section or something, but is there a proper fix in the work by someone
t's just my armchair expert
> opinion.
GCC does ask for 16-byte alignment for the SSE constants, but the request
isn't honoured by binutils.
Ross Ridge
--
l/ // Ross Ridge -- The Great HTMU
[oo][oo] [EMAIL PROTECTED]
-()-/()/ http:
1.7&r2=1.8
Ross Ridge
--
l/ // Ross Ridge -- The Great HTMU
[oo][oo] [EMAIL PROTECTED]
-()-/()/ http://www.csclub.uwaterloo.ca/u/rridge/
db //
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation
prised if it
doesn't work on Win9x, checked builds of Windows XP, Wine or in some
other context that the author might not have tested it on.
Ross Ridge
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports:
2
C:\Windows
C:\Windows\System32\WindowsPowerShell\v1.0
Output from E:\util\cygwin\bin\id.exe
UID: 1001(Ross Ridge) GID: 513(None)
513(None) 559(Performance Log Users)
545(Users)
SysDir: C:\Windows\system32
WinDir: C:\Windows
USER = 'Ross Ridge'
Which is what I would expect given
that serial devices have traditionally been synonymous with ttys on Unix.
> Ross, please give it a try.
The snapshot DLL solves the bug and the script runs without any data
being lost. Thanks for looking into this.
12 matches
Mail list logo