This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc compile error


Hello,

I have Sco Open Server 5.0.5 with udk and gcc 2.95 binaries from
skunkware cd. I have tried to compile an extremely simple C program but
it seems that gcc does not transfer the right parameters to native 
sco assembler.

scosysv:/# gcc -c test.c
UX:as: ERROR: Illegal option -- b
UX:as: TO FIX: Usage: [-Qyn] [-VTRmn] [-Ydm,dir] [-o outfile] [-t
target] file ...
scosysv:/#

I have tried to replace -b parameter with -m in specs file but 
doesn't not work.

scosysv:/# gcc -c test.c
UX:m4: ERROR: /udk/usr/ccs/lib/cm4defs:85 can't open file
UX:as: ERROR: <m4output>:1:assembly inhibited
UX:as: ERROR: <m4output>:1:cannot recover from previous error

Whow can I resolve the problem of gcc and assembler?


TIA,
Bubulac Tatinana


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]