public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* No Subject
@ 1998-05-19  9:59 Pete Popov
  1998-05-20  6:06 ` your mail Rolf Fiedler
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Pete Popov @ 1998-05-19  9:59 UTC (permalink / raw)
  To: crossgcc

Hi,

I'm using a mips64 dos-hosted cross
compiler which I built on my Linux box.
The compiler has been working fine and
we haven't ran into any problems, but
there's something I don't understand and
it really frustrates me.

I'm compiling all files with "-nostdinc"
switch; the files are later linked with
"-nostdlib".   I've got my own version
of "memcpy" and a few other routines;
however, for some reason, the compiler
chooses to insert the standard libc
memcpy in some of the files.  Thus, some
files get my version of memcpy, and
other get the libc version.  There's is
no apparent difference in those files;
they include the same .h files, they are
compiled with the same switches, etc.
Any suggestions?

Thanks,

Pete


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <20040316175922.GF14683@qworks.ca>]
[parent not found: <20040223154755.23916.qmail@web41606.mail.yahoo.com>]
* No Subject
@ 1998-09-07  2:33 Duan, Chenggang (Chenggang)
  1998-09-07 15:22 ` your mail joel
  1998-09-07 21:04 ` Harry G. Clayton
  0 siblings, 2 replies; 10+ messages in thread
From: Duan, Chenggang (Chenggang) @ 1998-09-07  2:33 UTC (permalink / raw)
  To: 'crossgcc@cygnus.com'

Does someone have ddump to convert m68k-coff
 format into Motorola S_records?
 Thanx in advance.

 sincerely yours
 chenggang Duan



^ permalink raw reply	[flat|nested] 10+ messages in thread
* No Subject
@ 1998-04-27 20:39 Tan Pinghui
  1998-04-28  7:12 ` your mail Hans Zuidam
  0 siblings, 1 reply; 10+ messages in thread
From: Tan Pinghui @ 1998-04-27 20:39 UTC (permalink / raw)
  To: crossgcc

Hello,

I compiled the tool chain of binutils-2.7, gcc-2.7.2.1, newlib-1.8.0,
gdb-4.16 to do Linux to i386-coff cross-development, the tool building
process is successful. My host environment is a linux 2.0.30, target
machine is a 386 PC without OS support. The target use the RS-232 port
to input/output data.

Some strange behaviors occur with the following simple program, I
can't figure out why and how.

---------------------------------------------------
#include <stdio.h>
int main(void)
{
    char name[100];
    
    while (1) {
          printf("Enter your name: ");
          gets(name);
          printf("Hello, %s!\n", name);
    }

    return 0;
}
---------------------------------------------------

The terminal screen snapshot is:
---------------------------------------------------
Enter your name: Hello, ABCD!
Enter your name: Hello, ABCD!
Enter your name: Hello, ABCD!
Enter your name: Hello, ABCD!
....
---------------------------------------------------


After printing the first "Enter your name: ", the program stoped to
wait for the input, that's right. I entered "ABCD<CR>".

What strange is:
(1) It didn't echo my input to the terminal
(2) It didn't go to the next printf statement but continued to
    wait for the input
(3) I entered a second <CR>, it didn't go but fly.  The program
    kept printing "Enter your name: Hello, ABCD!" and didn't stop
    to wait for further input.

I've tried newlib-1.7.0 also, but the result is same. The crt0 and
libgloss routines are correct I think, what's the matter?

Best regards,
 Tan Pinghui                        mailto:tanph@bj.col.com.cn


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-03-16 18:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-19  9:59 No Subject Pete Popov
1998-05-20  6:06 ` your mail Rolf Fiedler
1998-05-20  6:06 ` memcpy Jonathan Larmour
1998-05-22  9:56 ` Pete Popov
     [not found] <20040316175922.GF14683@qworks.ca>
     [not found] ` <20040316180134.GG14683@qworks.ca>
2004-03-16 18:29   ` your mail Chris Jones
     [not found] <20040223154755.23916.qmail@web41606.mail.yahoo.com>
2004-02-23 16:57 ` Michael Matz
  -- strict thread matches above, loose matches on Subject: below --
1998-09-07  2:33 No Subject Duan, Chenggang (Chenggang)
1998-09-07 15:22 ` your mail joel
1998-09-07 21:04 ` Harry G. Clayton
1998-09-08  8:39   ` joel
1998-04-27 20:39 No Subject Tan Pinghui
1998-04-28  7:12 ` your mail Hans Zuidam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).